---
title: "Protein Calculator"
method: GET
path: "/api/calc/protein-calculator"
tags: ["Health"]
---

# Protein Calculator

`GET /api/calc/protein-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/protein-calculator`
- Auth: none declared

How many grams of protein a day? From the 0.8 g/kg RDA to 2.2 g/kg for muscle gain, see your daily range for your body weight and activity or training goal.

## Query parameters

- `units` 'metric' | 'imperial': Units
- `kg` number: Weight (kg)
- `lb` number: Weight (lb)
- `level` 'sedentary' | 'older' | 'active' | 'endurance' | 'strength' | 'cut': Activity / goal

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

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