Health

Macro Calculator

Protein and carbs have 4 kcal per gram, fat 9. Turn your Mifflin–St Jeor calorie target into daily grams for fat loss, maintenance or gain in three splits.

get/api/calc/macro-calculator

Request

  • Base URL: https://calcbright.com
  • URL: https://calcbright.com/api/calc/macro-calculator
  • Auth: none declared

Query parameters

units'metric' | 'imperial'

Units

sex'male' | 'female'

Sex

agenumber

Age (years)

cmnumber

Height (cm)

ftnumber

Height (ft)

inchnumber

(in)

kgnumber

Weight (kg)

lbnumber

Weight (lb)

activity'sedentary' | 'light' | 'moderate' | 'active' | 'very'

Activity level

goal'lose' | 'maintain' | 'gain'

Goal

diet'balanced' | 'lowcarb' | 'highprotein'

Diet style

Response

Calculation result

okboolean
toolstring
namestring
urlstring

Open this link to see the full calculation

inputsobject
summarystring

Plain-text answer

detailsstring
resultobject
errorsobject

Changes

No recorded changes to this operation across all 1 revision of this API.