โโโโโโโโโโโโโโโ โโโโโโโ โโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโ
โโโโโโโโโโโโโโโโ โโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโ โโโ
โโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโ โโโ โโโโโโโ โโโโโโโโโโโ โโโ
โโโ โโโโโโ โโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโโ
โโโ โโโโโโ โโโโโโโโ โโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโโ โโโ โโโ โโโ โโโโโโโ
๐ Live Demo ย ยทย ๐ Documentation ย ยทย ๐ Report Bug ย ยทย ๐ก Request Feature
"The exact analytical framework used in analyst training programs at top investment banks โ now open source."
FinModel Pro is a fully self-contained, single-file financial modelling toolkit that runs directly in your browser โ no server, no installations, no subscriptions. Just download the HTML file and double-click.
Built for students, aspiring analysts, and finance professionals who want to learn financial modelling the way it's actually done at firms like Goldman Sachs, JPMorgan, Morgan Stanley, BlackRock, Lazard, and Evercore โ by working with real models, not watching videos.
Every model is live and automated โ enter your assumptions and every output recalculates instantly.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ VALUATION CORPORATE FINANCE MARKETS & CREDIT โ
โ โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โ
โ ๐ DCF Valuation Model ๐ผ 3-Statement Model ๐ Bond Valuation โ
โ ยท Perpetuity Growth ๐ Financial Forecasting ๐ Ratio Dashboard โ
โ ยท Exit Multiple ๐ M&A Accretion/Dilution ๐ฏ Sensitivity Table โ
โ โ
โ ๐ข Comps Analysis (CCA) ๐ LBO Model ๐บ๏ธ Football Field โ
โ โ๏ธ WACC Calculator ๐๏ธ IPO Valuation ๐ Formula Glossary โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| # | Model | What it does | Used in |
|---|---|---|---|
| 01 | DCF โ Perpetuity Growth | Projects FCFF and discounts via Gordon Growth terminal value | Equity Research ยท IB |
| 02 | DCF โ Exit Multiple | DCF with EV/EBITDA-based terminal value method | Equity Research ยท IB |
| 03 | 3-Statement Model | Integrated IS, BS, CFS with balance check | IB ยท Corp Finance |
| 04 | Comparable Company Analysis | Live peer multiples table with valuation band | Equity Research ยท ECM |
| 05 | WACC Calculator | CAPM-based cost of equity + tax-adjusted debt, full build | All valuation work |
| 06 | Sensitivity Analysis | 5ร5 heat-mapped matrix: WACC vs growth rate / exit multiple | All DCF work |
| 07 | Financial Forecasting | Revenue, EBITDA, FCF projections with NWC mechanics | Corp Finance ยท PE |
| 08 | LBO Model | Full debt schedule, cash sweep, MOIC & IRR (Newton-Raphson) | Private Equity |
| 09 | M&A Accretion/Dilution | EPS impact of deal structure, synergies, and financing | M&A ยท IB |
| 10 | Ratio Analysis Dashboard | 20+ ratios across 5 categories with benchmark scoring | Credit ยท ER |
| 11 | IPO Valuation Model | ECM pricing via peer multiples, IPO discount, float analysis | ECM ยท IB |
| 12 | Bond Valuation | Price, YTM, duration, convexity, DV01, price-yield curve | Fixed Income |
| 13 | Football Field Comparator | CSS-built pitch-book valuation range chart | IB ยท Pitchbooks |
| 14 | Formula Glossary | 80+ searchable terms with formulas, definitions, and examples | Learning |
๐ STUDENTS ๐ ASPIRING ANALYSTS ๐ PROFESSIONALS
โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ
Preparing for finance Breaking into IB, PE, Quick modelling on the
placements and or Equity Research. go. A clean, fast tool
internship interviews. Learn the exact way for sanity-checking
Build models used in it's done on the desk. valuations anywhere.
actual analyst tests. Not theory. Practice. No Excel needed.
It literally could not be easier:
# Option 1 โ Clone and open
git clone https://github.com/divyansh1920/FinModel-Pro.git
cd FinModel-Pro
open FinModel-Pro.html # macOS
# OR
start FinModel-Pro.html # Windows
# OR
xdg-open FinModel-Pro.html # Linux# Option 2 โ Just download the file
# Click "FinModel-Pro.html" in this repo โ Download โ Double-click
# That's it. No npm. No server. No setup.โ Works in Chrome, Firefox, Safari, and Edge. โ No internet connection required after download (except Google Fonts). โ All your inputs are auto-saved to localStorage between sessions.
Every model uses institutional-standard formulas. Here's a snapshot:
DCF โ Free Cash Flow to Firm
FCFF = NOPAT + D&A โ CapEx โ ฮNWC
= [EBIT ร (1 โ t)] + D&A โ CapEx โ ฮNWC
DCF โ Terminal Value (Perpetuity Growth)
TV = FCFFโ
ร (1 + g)
โโโโโโโโโโโโโโโโโ
WACC โ g
WACC โ Weighted Average Cost of Capital
WACC = (E/V ร Ke) + (D/V ร Kd ร (1 โ t))
where:
Ke = Rf + ฮฒ ร ERP [CAPM]
Kd = Pre-Tax Cost of Debt
E/V = Equity / (Equity + Debt)
LBO โ Internal Rate of Return
0 = ฮฃ CFโ / (1 + IRR)แต [solved via Newton-Raphson]
t=0
MOIC = Exit Equity Value / Entry Equity Contribution
Bond โ Price & Duration
Price = ฮฃ C / (1+y)แต + F / (1+y)แดบ
t=1
Macaulay Duration = ฮฃ [t ร PV(CFโ)] / Price
Modified Duration = Macaulay Duration / (1 + y/n)
DV01 = Modified Duration ร Price ร 0.0001
M&A โ EPS Accretion / Dilution
Pro-Forma NI = Acquirer NI + Target NI + Synergies โ Financing Cost โ Fees
Pro-Forma EPS = Pro-Forma NI / Pro-Forma Shares Outstanding
Accretion/(Dilution) = Pro-Forma EPS โ Standalone EPS
๐ All 80+ formulas are documented inside the Formula Glossary page of the app itself.
FinModel-Pro.html
โ
โโโ <head>
โ โโโ Google Fonts (Inter + Playfair Display)
โ โโโ Chart.js CDN
โ โโโ <style> โ Complete design system (CSS variables, components, dark mode)
โ
โโโ <body>
โ โโโ <nav> โ Fixed navigation bar (14 pages)
โ โโโ #page-home โ Landing page
โ โโโ #page-dcf โ DCF Valuation (2 methods)
โ โโโ #page-3statement โ 3-Statement Model
โ โโโ #page-comps โ Comparable Company Analysis
โ โโโ #page-wacc โ WACC Calculator
โ โโโ #page-sensitivity โ Sensitivity Analysis
โ โโโ #page-forecast โ Financial Forecasting
โ โโโ #page-lbo โ LBO Model
โ โโโ #page-merger โ M&A Model
โ โโโ #page-ratios โ Ratio Dashboard
โ โโโ #page-ipo โ IPO Valuation
โ โโโ #page-bond โ Bond Valuation
โ โโโ #page-compare โ Football Field Chart
โ โโโ #page-glossary โ Formula Glossary (80+ terms)
โ
โโโ <script>
โโโ // ===== PAGE NAVIGATION & TRANSITIONS =====
โโโ // ===== CHART REGISTRY (destroy/redraw on nav) =====
โโโ // ===== GLOBAL ASSUMPTIONS ENGINE =====
โโโ // ===== LOCALSTORAGE PERSISTENCE =====
โโโ // ===== DARK MODE & UNIT TOGGLE =====
โโโ // ===== SANITY CHECK ALERT ENGINE =====
โโโ // ===== DCF CALCULATIONS =====
โโโ // ===== 3-STATEMENT CALCULATIONS =====
โโโ // ===== COMPS CALCULATIONS =====
โโโ // ===== WACC CALCULATIONS =====
โโโ // ===== SENSITIVITY CALCULATIONS =====
โโโ // ===== FORECAST CALCULATIONS =====
โโโ // ===== LBO + IRR (Newton-Raphson) =====
โโโ // ===== M&A CALCULATIONS =====
โโโ // ===== RATIO CALCULATIONS =====
โโโ // ===== IPO CALCULATIONS =====
โโโ // ===== BOND VALUATION + YTM SOLVER =====
โโโ // ===== FOOTBALL FIELD CSS POSITIONING =====
โโโ // ===== GLOSSARY SEARCH ENGINE =====
Colors Typography
โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Background #F8F9FC Headings Playfair Display (serif)
Surface #FFFFFF Body Inter (400, 500, 600, 700)
Navy #0A1628 โโโโ Mono Courier New (formulas)
Gold #C9A84C โโโโ
Green #16A34A โโโโ
Amber #D97706 โโโโ
Red #DC2626 โโโโ
Border #E2E8F0
Muted #64748B
โก LIVE AUTOMATION Every output recalculates on every keystroke. No submit buttons.
๐งฎ VERIFIED FORMULAS Institutional-standard formulas across all 14 models.
Documented on every page. Cross-referenced in glossary.
๐จ SANITY CHECK ALERTS Live model health checks flag impossible inputs:
"Terminal growth > WACC", "Negative EV", "Leverage > 7x EBITDA"
๐ป BEAR / BASE / BULL Scenario analysis panels on DCF, LBO, and Forecast pages.
Three simultaneous calculations. Upside/downside auto-generated.
๐ฏ SENSITIVITY TABLES 5ร5 heat-mapped matrices with automatic color gradients.
Base case cell highlighted in gold. N/M cells for invalid inputs.
๐ FOOTBALL FIELD CHART Pure CSS pitch-book valuation range chart.
Current price marker, methodology color coding, auto-commentary.
๐ 10 CHART.JS CHARTS Waterfall, bar, line, radar, scatter, dual-axis.
All destroyed and redrawn on page navigation. Zero canvas conflicts.
๐พ LOCALSTORAGE SAVE All inputs saved automatically between sessions.
"Inputs restored" banner on return. Never lose your work.
๐ DARK MODE Full dark mode toggle. CSS variable swap. State persisted.
๐ UNIT TOGGLE Switch between $M and $B globally across all pages instantly.
๐จ๏ธ PRINT TO PDF Every page has a print stylesheet. Clean PDF output.
Inputs hidden. Outputs formatted for pitch-book style printing.
๐ COPY TO CLIPBOARD One-click copy on every hero metric card.
โน๏ธ ANALYST TOOLTIPS Every input field has a hover tooltip with analyst guidance.
Benchmark ranges, typical values, sourcing notes.
๐ SEARCHABLE GLOSSARY 80+ terms. Real-time search filtering. Category tabs.
Definition + Formula + Example + "Used in" model links.
๐ PROGRESS TRACKER Floating card tracks which models you've explored.
localStorage-based. Gold trophy when all 14 completed.
โ๏ธ GLOBAL ASSUMPTIONS Set Rf, ERP, Tax Rate once. Auto-fills matching fields globally.
๐ DCF Valuation Model
Two methods in one page โ toggle between them with a single click.
Perpetuity Growth Method (Gordon Growth Model)
- Input: 5-year revenue projections, EBIT margin, D&A, CapEx, NWC, WACC, terminal growth rate
- Output: FCFF per year, PV of FCFFs, Terminal Value, PV of TV, Enterprise Value, Equity Value, Implied Share Price
- Formula:
TV = FCFFโ ร (1 + g) / (WACC โ g)
Exit Multiple Method
- Same structure, terminal value via
TV = EBITDA Year 5 ร Exit EV/EBITDA Multiple - Method comparison card shown when both tabs are completed: Price variance in $ and %
Bear / Base / Bull Scenarios
- Three independent scenario columns with their own WACC and g/multiple inputs
- All three implied prices calculated simultaneously
- Auto-commentary: "Base: $XX. Bear downside: โXX%. Bull upside: +XX%"
Sanity Checks (live)
- โ Terminal growth rate exceeds WACC
- โ Terminal Value > 90% of EV
- โ All FCFFs are negative
๐ LBO Model
The core private equity analytical framework โ fully automated.
Inputs: Entry EBITDA, entry multiple, debt tranches (Senior Secured, Senior Unsecured, Sub Debt โ each with leverage multiple and interest rate), 5-year operating assumptions, exit year, exit multiple.
Auto-Built Outputs:
- Sources & Uses table with balance check
- Full debt schedule with mandatory amortization and cash sweep waterfall (senior-first priority)
- Operating model (Revenue, EBITDA, FCF) for Years 1โ5
- MOIC and IRR (solved via Newton-Raphson iteration)
// IRR via Newton-Raphson โ implemented in pure JS
function calcIRR(cashflows) {
let rate = 0.20;
for (let i = 0; i < 1000; i++) {
let npv = 0, dnpv = 0;
cashflows.forEach((cf, t) => {
npv += cf / Math.pow(1 + rate, t);
dnpv -= t * cf / Math.pow(1 + rate, t + 1);
});
const newRate = rate - npv / dnpv;
if (Math.abs(newRate - rate) < 1e-8) break;
rate = newRate;
}
return isFinite(rate) ? rate : null;
}Return Benchmarks (color-coded)
- MOIC > 3.0x = green | 2.0โ3.0x = amber | < 2.0x = red
- IRR > 25% = green | 20โ25% = amber | < 20% = red
๐บ๏ธ Football Field Chart
The most iconic output in investment banking โ built entirely in pure CSS (no canvas, no library).
How it works: User enters low/high implied values from each methodology (DCF, Comps, LBO, IPO, Analyst Targets). The chart renders as CSS div elements with left and width calculated as percentages of the total range.
barLeftPct = ((methodLow โ globalMin) / totalRange) ร 100
barWidthPct = ((methodHigh โ methodLow) / totalRange) ร 100
priceLine = ((currentPrice โ globalMin) / totalRange) ร 100The current market price renders as a vertical red line crossing all methodology bars โ exactly as it appears in pitch books.
Auto-generated commentary (JS string interpolation):
"Across all methodologies, [Company] implies an equity value range of $XX to $XX per share. The stock currently trades at $XX, representing XX% upside to the median implied value of $XX."
๐ Formula Glossary โ 80+ Terms
A searchable reference page covering every term used across the toolkit.
5 Categories: Valuation ยท Accounting ยท Credit/Fixed Income ยท Returns ยท Markets
Each term card includes:
- Plain-English definition (analyst voice, not textbook)
- Formula in monospace (
codestyle) - Real-world example
- "Used in:" badge with a direct link to the relevant model
Real-time search โ filters all cards on every keystroke. Zero lag. Zero page reload.
Sample entries:
| Term | Formula |
|---|---|
| FCFF | NOPAT + D&A โ CapEx โ ฮNWC |
| Modified Duration | Macaulay Duration / (1 + YTM/n) |
| ROIC | EBIT ร (1โt) / (Debt + Equity) |
| Cash Conversion Cycle | DSO + DIO โ DPO |
| IRR | Solve: NPV = 0 = ฮฃ CFโ / (1+IRR)แต |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Single .html file ยท ~5,000 lines ยท ~180KB โ
โ โ
โ HTML5 โโ Structure & semantics โ
โ CSS3 โโ Design system, dark mode, โ
โ animations, print styles, โ
โ CSS football field chart โ
โ Vanilla JS โโ All calculation logic, โ
โ page routing, localStorage, โ
โ Newton-Raphson IRR/YTM โ
โ Chart.js โโ 10 charts (CDN only) โ
โ Google โโ Inter + Playfair Display โ
โ Fonts (CDN, graceful fallback) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Zero dependencies beyond two CDN links.
No npm. No build step. No server. No framework.
- ๐ Export to Excel โ Generate .xlsx from model outputs via SheetJS
- ๐ Live Data Feed โ Pull stock prices and financials via public APIs
- ๐ฑ Mobile Layout โ Responsive redesign for tablet use
- ๐ Tutorial Mode โ Guided walkthrough for each model with sample data
- ๐ฌ Model Commentary โ AI-generated analyst note for each completed model
- ๐ Precedent Transactions Model โ M&A deal database and transaction comps
- ๐ Monte Carlo Simulation โ DCF with probability distributions
- ๐ Multi-Company Mode โ Save and switch between different company analyses
- ๐ Multi-Currency Support โ Currency selector affecting all formatting
- ๐ Import from CSV โ Paste financial data directly from Excel or Bloomberg
Contributions are what make this project better. Any help is genuinely appreciated.
# Fork the repo, then:
git checkout -b feature/your-model-name
# Make your changes to FinModel-Pro.html
git commit -m 'feat: add [model name] with live calculations'
git push origin feature/your-model-name
# Open a Pull RequestAreas where contributions are especially welcome:
- ๐ Formula bug fixes (cite your source โ Damodaran, Berk & DeMarzo, etc.)
- ๐ New model additions (Precedent Transactions, DDM, Sum-of-the-Parts)
- ๐จ UI/UX improvements
- ๐ฑ Mobile responsiveness
- ๐ Glossary term additions
- ๐งช Real-world test cases with known outputs
Contribution Guidelines:
- All new models must follow the existing code structure and CSS design system
- Every new input field must have an
oninputhandler โ no static outputs - Every formula must be cited and documented in the formula reference panel
- Outputs must never display
NaN,Infinity, orundefined - Test that the file works by double-clicking it (no server required)
MIT License
Copyright (c) 2024 FinModel Pro
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software...
See LICENSE for the full text.
FinModel Pro is designed for educational purposes only.
The models, formulas, and outputs provided in this toolkit are illustrative
and should not be used as the sole basis for any investment decision.
Financial modelling involves significant assumptions and judgement. Always
verify outputs independently and consult a qualified financial professional
before making investment decisions.
This project is not affiliated with Goldman Sachs, JPMorgan Chase, Morgan
Stanley, BlackRock, or any other financial institution mentioned in the
documentation. Institutional references are for educational context only.
- Damodaran Online โ The gold standard for valuation data and teaching
- Chart.js โ Beautiful, performant JavaScript charting
- Google Fonts โ Inter & Playfair Display
- Breaking Into Wall Street โ The IB training framework that inspired this
- Wall Street Prep โ For setting the benchmark on what practical modelling education looks like
If FinModel Pro helped you land an internship, pass an interview, or understand a concept โ drop a โญ on the repo. It genuinely means a lot.
Built with obsession for finance education.
Made open-source so anyone can think like an analyst.