# ROI Calculator > A free return-on-investment calculator at https://roi-calculator.skillsafe.ai/ that works out every figure in the visitor's browser. Nothing is uploaded and no sign-up is needed for any result. It answers four questions: - Investment: amount invested, what it returned or is worth now, optional years held, extra costs and income. Gives ROI = (total back - total put in) / total put in, net gain, money multiple, the compounded yearly return (CAGR) and a what-if table for the value 20% lower to 20% higher. - Ad campaign: ad spend, revenue from the ads, cost of the goods sold, other campaign costs. Gives ROI after costs, ROAS (revenue / ad spend), break-even ROAS, revenue needed to break even and gross margin. - Payback: an upfront cost and the cash it brings in each year or month (one amount, or one per period). Gives the payback period, ROI over the period, IRR, and with a discount rate the NPV and discounted payback. - Break-even: fixed costs, price per unit, cost per unit and optional expected units. Gives break-even units (rounded up) and revenue, contribution margin, profit and margin of safety at the expected volume, and a price what-if table. Every result shows its formulas with the visitor's numbers, can be added to a side-by-side comparison ranked by ROI, and can be copied as text or downloaded as CSV or Markdown. ## Optional AI step After sign-in, "Write it up for a decision with AI" sends the page's formatted figures and an optional note to the app's model (gpt-terra), which returns JSON: headline, summary, drivers, assumptions, risks, questions and next_step. The page checks that every figure in the reply appears on the page and that a loss is stated as a loss. Runs are metered in SkillSafe credits; the amount reserved is shown first. ## API https://roi-calculator.skillsafe.ai/api.html documents the run input: {"task": "case", "kind": "investment|campaign|payback|breakeven", "name": "", "context": "", "facts": ""}. ## Source Adapted from the agent skill @dkyazzentwatwa/roi-calculator (https://skillsafe.ai/skill/@dkyazzentwatwa/roi-calculator) from dkyazzentwatwa/chatgpt-skills. Not financial advice.