{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/percentage-calculator/schema.json",
  "title": "Percentage Calculator inputs",
  "description": "Solve five common percentage problems without changing pages.",
  "type": "object",
  "properties": {
    "operation": {
      "title": "Calculation",
      "type": "string",
      "default": "percentOf",
      "enum": [
        "percentOf",
        "whatPercent",
        "increase",
        "decrease",
        "change"
      ],
      "x-optionLabels": {
        "percentOf": "What is X% of Y?",
        "whatPercent": "X is what percent of Y?",
        "increase": "Increase X by Y%",
        "decrease": "Decrease X by Y%",
        "change": "Percent change from X to Y"
      }
    },
    "x": {
      "title": "X",
      "type": "number",
      "default": 20,
      "x-step": 0.01
    },
    "y": {
      "title": "Y",
      "type": "number",
      "default": 500,
      "x-step": 0.01
    }
  },
  "required": [
    "operation",
    "x",
    "y"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "1.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/percentage-calculator/",
    "queryExample": "https://askcalculators.com/calculator/percentage-calculator/?operation=percentOf&x=20&y=500",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "X% of Y = (X ÷ 100) × Y",
      "note": "The selected mode changes the formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/percentage-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "1.0.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Flagship reference cases are specified in scripts/test-v20-1.mjs; consult release evidence for executed results.",
      "historicalMetadataDate": "2026-08-18",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "result": {
        "title": "Result",
        "type": "number",
        "x-format": "number",
        "x-primary": true
      },
      "summary": {
        "title": "Calculation",
        "type": "string",
        "x-format": "text"
      }
    }
  }
}
