{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/lean-body-mass-calculator/schema.json",
  "title": "Lean Body Mass Calculator inputs",
  "description": "Estimate lean body mass with Boer, James, and Hume adult equations or the Peters pediatric equation.",
  "type": "object",
  "properties": {
    "mode": {
      "title": "Equation group",
      "type": "string",
      "default": "adult",
      "enum": [
        "adult",
        "child"
      ],
      "x-optionLabels": {
        "adult": "Adult formulas",
        "child": "Peters child formula"
      }
    },
    "unitSystem": {
      "title": "Units",
      "type": "string",
      "default": "metric",
      "enum": [
        "metric",
        "imperial"
      ],
      "x-optionLabels": {
        "metric": "Metric",
        "imperial": "Imperial"
      }
    },
    "sex": {
      "title": "Sex used by equation",
      "type": "string",
      "default": "male",
      "enum": [
        "male",
        "female"
      ],
      "x-optionLabels": {
        "male": "Male",
        "female": "Female"
      }
    },
    "age": {
      "title": "Age",
      "type": "number",
      "default": 30,
      "minimum": 13,
      "maximum": 120,
      "x-step": 1,
      "multipleOf": 1,
      "x-suffix": "years"
    },
    "weightKg": {
      "title": "Weight",
      "type": "number",
      "default": 70,
      "minimum": 1,
      "maximum": 500,
      "x-step": 0.1,
      "x-suffix": "kg",
      "x-showWhen": {
        "field": "unitSystem",
        "equals": "metric"
      }
    },
    "heightCm": {
      "title": "Height",
      "type": "number",
      "default": 175,
      "minimum": 50,
      "maximum": 300,
      "x-step": 0.1,
      "x-suffix": "cm",
      "x-showWhen": {
        "field": "unitSystem",
        "equals": "metric"
      }
    },
    "weightLb": {
      "title": "Weight",
      "type": "number",
      "default": 154,
      "minimum": 2,
      "maximum": 1100,
      "x-step": 0.1,
      "x-suffix": "lb",
      "x-showWhen": {
        "field": "unitSystem",
        "equals": "imperial"
      }
    },
    "feet": {
      "title": "Height feet",
      "type": "number",
      "default": 5,
      "minimum": 1,
      "maximum": 9,
      "x-step": 1,
      "multipleOf": 1,
      "x-suffix": "ft",
      "x-showWhen": {
        "field": "unitSystem",
        "equals": "imperial"
      }
    },
    "inches": {
      "title": "Height inches",
      "type": "number",
      "default": 9,
      "minimum": 0,
      "maximum": 11.9,
      "x-step": 0.1,
      "x-suffix": "in",
      "x-showWhen": {
        "field": "unitSystem",
        "equals": "imperial"
      }
    }
  },
  "required": [
    "mode",
    "unitSystem",
    "sex",
    "age"
  ],
  "allOf": [
    {
      "if": {
        "properties": {
          "unitSystem": {
            "const": "metric"
          }
        },
        "required": [
          "unitSystem"
        ]
      },
      "then": {
        "required": [
          "weightKg"
        ]
      }
    },
    {
      "if": {
        "properties": {
          "unitSystem": {
            "const": "metric"
          }
        },
        "required": [
          "unitSystem"
        ]
      },
      "then": {
        "required": [
          "heightCm"
        ]
      }
    },
    {
      "if": {
        "properties": {
          "unitSystem": {
            "const": "imperial"
          }
        },
        "required": [
          "unitSystem"
        ]
      },
      "then": {
        "required": [
          "weightLb"
        ]
      }
    },
    {
      "if": {
        "properties": {
          "unitSystem": {
            "const": "imperial"
          }
        },
        "required": [
          "unitSystem"
        ]
      },
      "then": {
        "required": [
          "feet"
        ]
      }
    },
    {
      "if": {
        "properties": {
          "unitSystem": {
            "const": "imperial"
          }
        },
        "required": [
          "unitSystem"
        ]
      },
      "then": {
        "required": [
          "inches"
        ]
      }
    }
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "2.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/lean-body-mass-calculator/",
    "queryExample": "https://askcalculators.com/calculator/lean-body-mass-calculator/?mode=adult&unitSystem=metric&sex=male&age=30&weightKg=70&heightCm=175",
    "migrationStatus": "migrated",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "migratedDate": "2026-08-25",
    "formula": {
      "expression": "Adult equations: Boer, James, and Hume use sex-specific weight and height coefficients; Peters estimates extracellular volume and multiplies it by 3.8."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/lean-body-mass-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "2.0.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "2026-08-25",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "average": {
        "title": "Average adult estimate",
        "type": "string",
        "x-format": "text",
        "x-primary": true
      },
      "boer": {
        "title": "Boer estimate",
        "type": "string",
        "x-format": "text"
      },
      "james": {
        "title": "James estimate",
        "type": "string",
        "x-format": "text"
      },
      "hume": {
        "title": "Hume estimate",
        "type": "string",
        "x-format": "text"
      },
      "peters": {
        "title": "Peters child estimate",
        "type": "string",
        "x-format": "text"
      },
      "leanPercent": {
        "title": "Lean mass percentage",
        "type": "number",
        "x-format": "percent",
        "x-digits": 1
      }
    }
  }
}
