{
  "tool_id": "unit_economics",
  "slug": "unit-economics-calculator",
  "path": "/unit-economics-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aibizhub.io/unit-economics-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aibizhub.io/engines/unit-economics-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aibizhub.io/methodology/unit-economics-calculator/",
  "sample_input": {
    "tool": "unit_economics",
    "cac": 150,
    "monthly_arpu": 49,
    "gross_margin_percent": 75,
    "avg_lifespan_months": 24,
    "monthly_churn_percent": 3
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "cac": {
        "type": "number"
      },
      "monthly_arpu": {
        "type": "number"
      },
      "gross_margin_percent": {
        "type": "number"
      },
      "avg_lifespan_months": {
        "type": "number"
      },
      "monthly_churn_percent": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "cac",
      "monthly_arpu",
      "gross_margin_percent",
      "avg_lifespan_months",
      "monthly_churn_percent"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "ltv": {
        "type": "number"
      },
      "ltvCacRatio": {
        "type": "number"
      },
      "cacPaybackMonths": {
        "type": "number"
      },
      "monthlyContribution": {
        "type": "number"
      },
      "unitProfit": {
        "type": "number"
      },
      "impliedLifespanFromChurn": {
        "type": "number"
      },
      "verdict": {
        "type": "string"
      },
      "verdictColor": {
        "type": "string"
      },
      "warnings": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "cac": {
            "type": "number"
          },
          "monthly_arpu": {
            "type": "number"
          },
          "gross_margin_percent": {
            "type": "number"
          },
          "avg_lifespan_months": {
            "type": "number"
          },
          "monthly_churn_percent": {
            "type": "number"
          }
        }
      }
    }
  }
}
