TCAL Formula Library
The Total Calorie (TLCal) calculator reference: every formula below is documented with its equation, the inputs it needs, and a worked example so you can calculate your own numbers with confidence.
TCAL Formulas & Calculators
The TCAL Formula Library — the Total Calorie (TLCal) suite of health, fitness, and metabolic calculators.
- Formula
BMR Calculator Algorithm
Learn how to implement Basal Metabolic Rate (BMR) algorithms using the Mifflin-St Jeor and Katch-McArdle formulas in JavaScript and Python.
- Formula
TDEE Calculator Explained
Understand your Total Daily Energy Expenditure and learn how to build a metabolic app using AI prompting.
- Formula
Ideal Body Weight in TypeScript
Compare clinical formulas (Devine, Robinson, Miller, Hamwi) for ideal weight using typed structures in TypeScript.
- Formula
Macro Split Calculator
Determine daily macronutrient split algorithms and code a macro calculator widget with custom targets.
- Formula
Logarithmic US Navy Body Fat
Code the US Navy body fat percentage calculator in JavaScript using metric and imperial logarithmic formulas.
- Formula
How to Build a BMI Calculator
Implement the unit-converting BMI formula in JavaScript, and inspect why the math fails for athletic body composition.
- Formula
Coding an AI Hydration Widget
Build a JavaScript hydration tracking widget with dynamic environment scaling and natural language AI parsing.
- Formula
Heart Rate Zone Visualizer
Calculate target cardiovascular zones via Tanaka/Karvonen and build a dynamic HTML/CSS visualizer in JavaScript.