Skip to content

@kaiord/core


@kaiord/core / computeBmr

Function: computeBmr()

computeBmr(input): BmrResult

Defined in: packages/core/src/application/energy/bmr.ts:72

Estimate BMR (kcal/day). Uses Katch-McArdle when bodyFatFraction is a valid [0, 1) fraction, otherwise Mifflin-St Jeor.

Parameters

input

BmrInput

Returns

BmrResult

Throws

RangeError when weight, height, or age is not positive and finite.