Build a Startup Runway and Burn Rate Calculator in One HTML File
A self-contained startup runway and burn rate calculator with interactive sliders, scenario presets, and an SVG cash timeline.
Text prompt for ChatGPT and Claude
The prompt
Act as a senior front-end engineer and financial UI designer. Build RunwayLens, a complete, self-contained Startup Runway and Burn Rate Calculator in a single offline HTML file. The tool lets founders adjust cash on hand, monthly gross burn, starting monthly revenue, and monthly revenue growth rate using smooth range sliders and quick scenario presets. Follow these rules: 1. Calculate month-by-month cash balance, net burn, and break-even point accurately, displaying runway in months and the exact projected zero-cash date or a cash-flow positive badge. 2. Render a responsive SVG runway timeline chart showing the cash curve over up to 36 months, a zero-cash threshold line, and a break-even marker when applicable. 3. Use a clean light-mode financial palette with high-contrast slate typography, emerald for positive cash flow, amber for caution, and rose for deficit. 4. Support mouse, touch, and keyboard navigation across all sliders and preset buttons without horizontal overflow from 360px to 1280px. 5. Use zero external libraries, zero network calls, zero localStorage, and no form tags; wrap all JavaScript in an IIFE. 6. Respect prefers-reduced-motion for transitions. Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.Example output
Tips and common edits
Why this works
- Explicitly bans external CDNs, form tags, and localStorage so the file runs safely in any sandboxed preview.
- Pairs four concrete financial inputs with a 36-month SVG curve so every slider change gives instant visual feedback.
- Wraps all logic in an IIFE and enforces a 360px-1280px responsive grid to prevent layout overflow.
Paste the prompt into Gemini, ChatGPT, or Claude, copy the generated HTML into a file named runway-lens.html, and open it in any browser or preview it directly in Canvas or Artifacts.
Common edits
- Add a one-time fundraising injection slider to model a future bridge round or seed extension.
- Include a CSV download button generated via a Blob URL to export the 36-month projection table.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Build a Unit Economics Calculator for CAC, LTV, and Payback
Create a single-file unit economics calculator with interactive sliders, live CAC and LTV formulas, payback months, and a plain-language health verdict.
Build a Loan and Mortgage Calculator with Amortization Table in One HTML File
Get a polished, offline loan and mortgage calculator that shows monthly payment, total interest, an SVG balance chart, extra-payment savings and a full amortization schedule.
Build a Printable Freelance Invoice Generator with Tax and Totals in One HTML File
Creates a single-file invoice maker with editable line items, tax and discount handling, saved client details, and a print-ready layout you can save as PDF. It works offline and needs no server.
Build a Contractor Quote and Estimate Builder in HTML
A single-file contractor quote builder that separates labour and materials with adjustable markup, tax, deposit calculation, and a clean print view.
Build a Distributed Team Time-Zone Meeting Planner in One HTML File
A single-file time-zone meeting planner with a 24-hour overlap grid, fair working-hour highlights, and one-click copy of proposed slots.
Build a Kanban Board with WIP Limits and Drag-and-Drop in HTML
Get a single-file HTML kanban board with configurable WIP limits, live card counts, drag-and-drop, and keyboard-accessible card movement.
- Build a Weekly Staff Shift Rota Builder in HTML
- Build an Email Signature Generator With Three Layouts in HTML
- Build an OKR Progress Tracker with Confidence Scores in One HTML File
- Build a Freelance Project Scope and Rate Estimator in One HTML File
- Build a SaaS Pricing and Annual-Discount ROI Calculator in One HTML File
- Build a BMI and Daily Calorie Calculator with Metric and Imperial Units in HTML