{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/healthy-weight-calculator/schema.json",
  "title": "Healthy Weight Calculator inputs",
  "description": "Calculate the adult weight interval corresponding to BMI 18.5 through 24.9 and compare adjacent BMI categories.",
  "type": "object",
  "properties": {
    "unitSystem": {
      "title": "Units",
      "type": "string",
      "default": "metric",
      "enum": [
        "metric",
        "imperial"
      ],
      "x-optionLabels": {
        "metric": "Metric",
        "imperial": "Imperial"
      }
    },
    "heightCm": {
      "title": "Height",
      "type": "number",
      "default": 175,
      "minimum": 50,
      "maximum": 300,
      "x-step": 0.1,
      "x-suffix": "cm",
      "x-showWhen": {
        "field": "unitSystem",
        "equals": "metric"
      }
    },
    "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"
  ],
  "allOf": [
    {
      "if": {
        "properties": {
          "unitSystem": {
            "const": "metric"
          }
        },
        "required": [
          "unitSystem"
        ]
      },
      "then": {
        "required": [
          "heightCm"
        ]
      }
    },
    {
      "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/healthy-weight-calculator/",
    "queryExample": "https://askcalculators.com/calculator/healthy-weight-calculator/?unitSystem=metric&heightCm=175",
    "migrationStatus": "migrated",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "migratedDate": "2026-08-25",
    "formula": {
      "expression": "weight = target BMI × height², using BMI 18.5 and 24.9 for the adult healthy-weight interval."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/healthy-weight-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": {
      "healthyRange": {
        "title": "Healthy-weight range",
        "type": "string",
        "x-format": "text",
        "x-primary": true
      },
      "midpoint": {
        "title": "Range midpoint",
        "type": "string",
        "x-format": "text"
      },
      "underweightUpper": {
        "title": "Underweight is below",
        "type": "string",
        "x-format": "text"
      },
      "overweightStarts": {
        "title": "Overweight starts at",
        "type": "string",
        "x-format": "text"
      },
      "obesityStarts": {
        "title": "Obesity starts at",
        "type": "string",
        "x-format": "text"
      }
    }
  }
}
