---
title: "Calorie Calculator"
method: POST
path: "/api/v1/tools/calorie-calculator"
tags: ["tools"]
---

# Calorie Calculator

`POST /api/v1/tools/calorie-calculator`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/calorie-calculator`
- Auth: HTTP bearer

Daily calories to maintain, lose or gain weight from your details and activity. Mifflin-St Jeor (1990) sets the basal rate and drives the targets, revised Harris-Benedict (1984) is returned beside it for comparison, and the maintenance figure is also split into the balanced 30/40/30 macros. Consult a registered dietitian for personalized nutrition advice.

## Request body

- object
  - `sex` string
  - `age` integer
  - `heightCm` integer
  - `weightKg` integer
  - `activity` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `sex` string
    - `activity` string
    - `activityFactor` number
    - `bmrMifflin` integer
    - `bmrHarris` integer
    - `tdeeMifflin` integer
    - `tdeeHarris` integer
    - `maintenance` integer
    - `weightLoss` integer
    - `weightGain` integer
    - `macros` object
      - `protein` integer
      - `carbs` integer
      - `fat` integer
    - `formulas` string[]
    - `note` string

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
