A DCF you can actually read. Same math as the spreadsheet, without the wall of grey cells.
Most DCF models live in Excel templates: hundreds of cells, tiny fonts, blue-for-input and black-for-formula, and a value per share buried somewhere around row 60. You can build them, but it's hard to show one to anyone. In a pitch or a meeting, people want to know three things: what is it worth, how does that compare to the price, and what would have to be true for the price to make sense.
This calculator puts those answers first.
- The answer is at the top. Value per share, the market price, and how far apart they are, in large type the second the page opens.
- Only the judgment calls are editable. Reported figures and market prices are locked, so nobody "fixes" the revenue by accident. Growth, margins, discount rate and terminal assumptions are the knobs, each with a note on where the number came from.
- Every step is spelled out. Cash flows, plus terminal value, gives enterprise value; less net debt gives equity value; divided by shares gives the price. One clean list, not a chain of cell references.
- It answers "what does the price assume?" It works out the long-run margin the market price needs, so a debate about whether a stock is cheap becomes a debate about one number.
- Stress-testing takes one click. A bear case button, a reset button, and a sensitivity grid that marks the cell nearest today's price.
- It looks good on a projector. Dark and light themes, clear type, nothing to squint at.
Nothing is lost in the translation. The four bundled models match their source spreadsheets to the cent, and you can import any workbook built on the same template. Open it in your browser; there's nothing to install.
index.html: the calculator. Four models come bundled: Micron, Apple, Amazon and Tesla. Their values match the spreadsheets to the cent.examples/: the four source workbooks, built from SEC filings and analyst estimates as of 14 Oct 2026. Every input has a note on where it came from. Use any of them as the template for your own company.
- Ten-year forecast with mid-year discounting and a part-year for 2026
- Terminal value where reinvestment = growth ÷ return on capital
- A bear-case button and reset-to-base
- Open it. Go to zi-cong-tan.github.io/DCF-Calculator-Aesthetic/. Nothing to install or sign up for. (To use it offline, click the green Code button above, choose Download ZIP, and double-click
index.html.) - Pick a company. Click one of the buttons under the search bar, or type a name or ticker.
- Read the answer. The top row shows the value per share, the market price, and the long-run margin the price needs.
- Change the assumptions. Edit any box on the left. Percentages are typed as plain numbers (25 means 25%). Edited boxes are outlined and show the base value, and everything on the right updates as you type.
- Stress-test it. Click Bear case for a pessimistic version, or check the sensitivity grid to see the value across different discount rates and margins. Reset to the base case puts everything back.
- Add your own company.
- Import a DCF spreadsheet: any
.xlsxbuilt on the same template. Copy one of the files inexamples/and fill in your company. - Add a company by hand: enter the reported figures from the latest annual report. The starting assumptions are placeholders, so change them before trusting the value.
- Import a DCF spreadsheet: any
Everything runs inside your own browser. There is no server and no account, and nothing you type or import is uploaded anywhere.
- Companies you add and assumptions you change are saved in your browser on your computer.
- If two people use it at the same time, each has their own copy and neither can see or change the other's work.
- Your saved work doesn't follow you to another browser or device, and clearing your browser data erases it. Keep the spreadsheet if you want a permanent copy.
Prices and the risk-free rate are as of mid-October 2026. This is a learning and analysis tool, not investment advice.
This is my first project on GitHub, so I'd love to hear what you think. Ideas for making the calculator better, things that confused you, features you'd want, or suggestions for what I should build next are all welcome.
Open an issue or message me on LinkedIn.
Built by Zi Cong Tan, MS Finance (Quantitative Finance with AI) student. The valuation models, assumptions and research are my own; the interface was built with Claude Code.

0 comments
log in to comment.