← All tool references

Health · not_available

Lean Body Mass Calculator

Estimate lean body mass and fat mass from body weight and an entered body-fat percentage.

Open public tool

Overview

Category
Health
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/lean-body-mass-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/lean-body-mass-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

weight · number · required
Enter the body weight used in the calculation.
weight_unit · string · required
Choose the weight unit that matches the calculation. Accepted values: kg, lb.
body_fat_percent · number · required
Enter the body-fat percentage used in the calculation.
{
    "type": "object",
    "properties": {
        "weight": {
            "type": "number",
            "description": "Enter the body weight used in the calculation.",
            "minimum": 1
        },
        "weight_unit": {
            "type": "string",
            "description": "Choose the weight unit that matches the calculation.",
            "enum": [
                "kg",
                "lb"
            ]
        },
        "body_fat_percent": {
            "type": "number",
            "description": "Enter the body-fat percentage used in the calculation."
        }
    },
    "required": [
        "weight",
        "weight_unit",
        "body_fat_percent"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

lean_mass_kg · number
Lean body mass produced by the calculation.
lean_mass_lb · number
Lean body mass in pounds produced by the calculation.
fat_mass_kg · number
Estimated fat mass produced by the calculation.
fat_mass_lb · number
Estimated fat mass in pounds produced by the calculation.
{
    "type": "object",
    "properties": {
        "lean_mass_kg": {
            "type": "number",
            "description": "Lean body mass produced by the calculation."
        },
        "lean_mass_lb": {
            "type": "number",
            "description": "Lean body mass in pounds produced by the calculation."
        },
        "fat_mass_kg": {
            "type": "number",
            "description": "Estimated fat mass produced by the calculation."
        },
        "fat_mass_lb": {
            "type": "number",
            "description": "Estimated fat mass in pounds produced by the calculation."
        }
    },
    "additionalProperties": false
}

Lean Body Mass Calculator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/lean-body-mass-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "weight": 75,
    "weight_unit": "kg",
    "body_fat_percent": 22
}'
{
    "ok": true,
    "data": {
        "slug": "lean-body-mass-calculator",
        "result": {
            "values": {
                "lean_mass_kg": 58.5,
                "lean_mass_lb": 129,
                "fat_mass_kg": 16.5,
                "fat_mass_lb": 36.39999999999999857891452847979962825775146484375
            },
            "display": {
                "display": "58.5"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.