{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/body-surface-area-calculator/schema.json",
  "title": "Body Surface Area Calculator inputs",
  "description": "Calculate body surface area with Mosteller, Du Bois, Haycock, Gehan–George, Boyd, and Schlich formulas.",
  "type": "object",
  "properties": {
    "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"
      }
    },
    "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": [
    "unitSystem",
    "sex"
  ],
  "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/body-surface-area-calculator/",
    "queryExample": "https://askcalculators.com/calculator/body-surface-area-calculator/?unitSystem=metric&sex=male&weightKg=70&heightCm=175",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "Mosteller: √(height cm × weight kg ÷ 3600); other published equations use formula-specific powers of height and weight."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/body-surface-area-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": {
      "mosteller": {
        "title": "Mosteller BSA",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4,
        "x-primary": true
      },
      "duBois": {
        "title": "Du Bois BSA",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4
      },
      "haycock": {
        "title": "Haycock BSA",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4
      },
      "gehanGeorge": {
        "title": "Gehan–George BSA",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4
      },
      "boyd": {
        "title": "Boyd BSA",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4
      },
      "schlich": {
        "title": "Schlich BSA",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4
      },
      "average": {
        "title": "Formula average",
        "type": "number",
        "x-format": "number",
        "x-suffix": " m²",
        "x-digits": 4
      }
    }
  }
}
