# FIRE number calculator > How much do you need to be financially independent? Find the portfolio that covers your spending with the 4% rule, and how long it takes to build. Calculate your FIRE number from yearly spending and a withdrawal rate such as the 4% rule, then see how many years it takes with your savings and returns. - Page: https://how.box/fire/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/fire/?currency={currency}&s={s}&w={w}&c={c}&y={y}&r={r} - `currency` (AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XCD, XCG, XDR, XOF, XPF, XSU, YER, ZAR, ZMW, ZWG or ZWL): Currency the amounts are in (ISO 4217); no conversion. Example: `EUR`. - `s` (number 0.01 to 1e9): Yearly spending to cover. Example: `30000`. - `w` (number 0.1 to 20): Yearly withdrawal rate in percent. Example: `4`. - `c` (number 0 to 1e9): Invested savings today. Example: `50000`. - `y` (number 0 to 1e9): Added to the investments each year. Example: `15000`. - `r` (number 0 to 30): Yearly return after inflation in percent. Example: `5`. Example answer: https://how.box/fire/?currency=EUR&s=30000&w=4&c=50000&y=15000&r=5 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `fire_calculate`: Financial independence ("FIRE") number and the years to reach it. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fire_calculate","arguments":{"currency":"EUR","yearly_spending":30000,"withdrawal_rate_percent":4,"current_savings":50000,"yearly_savings":15000,"return_percent":5}}}` - GET: https://how.box/mcp/run/fire_calculate?currency=EUR&yearly_spending=30000&withdrawal_rate_percent=4¤t_savings=50000&yearly_savings=15000&return_percent=5 ## How it works Financial independence means your investments can pay for your life without a salary. The usual shortcut is the 4% rule: if you withdraw 4% of a portfolio in the first year, and adjust that amount for inflation after that, historical data suggests it has lasted about 30 years. Turned around, you need 25 times your yearly spending. The number is N = yearly spending ÷ withdrawal rate. For 40,000 a year at 4% that is 40,000 ÷ 0.04 = 1,000,000. The years to reach it come from compound growth: savings S grow at the real return r with a yearly deposit C, and n = ln((N + C ÷ r) ÷ (S + C ÷ r)) ÷ ln(1 + r). Sources: William Bengen (1994) and the Trinity study (Cooley, Hubbard and Walz, 1998). Every assumption is on the page, and each one matters. The return is after inflation, deposits come at the end of each year, and spending stays constant. A lower withdrawal rate is safer for a retirement of 40 years or more. Real returns vary, so the result is an illustration, not a promise. ## FAQ **What is the 4% rule?** A guideline that a portfolio of stocks and bonds could pay 4% of its starting value in the first year, rising with inflation, for at least 30 years in past U.S. markets. It is based on historical data and does not guarantee future results. **Should I use a lower withdrawal rate?** If you want to retire early, 3% to 3.5% is common, because your money needs to last longer. A lower rate means a bigger number to save. **Why use the return after inflation?** It keeps everything in today's money. A 7% return with 2% inflation is about 5% real, and your yearly spending stays at today's prices instead of rising each year. **What does FIRE stand for?** Financial Independence, Retire Early. The goal is to have enough invested that working becomes optional, whether or not you stop working. **Does the number include taxes, pensions or a house?** No. Enter spending after any taxes you will pay on withdrawals, and leave out the value of your home and pensions that pay separately. Those can lower the number you need. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)