# Ledgerly Savings Goal Calculator > How much to save each month for a goal by a date — or how long a monthly amount takes. Works out the monthly amount you need to reach a savings goal by a target date, or how long it takes with the amount you can put aside. Includes what you already have, interest with monthly, yearly or daily compounding, fees and an option to keep the goal in today’s money so it grows with inflation. A small table shows the effect of a higher or lower return. Part of Ledgerly’s Debt & Growth. Part of usefulweb.app (https://usefulweb.app/). Part of [Ledgerly](https://ledgerly.usefulweb.app/) (ownerApp: ledgerly). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://ledgerlysavingsgoal.usefulweb.app/ (interactive tool at https://ledgerlysavingsgoal.usefulweb.app/tool) - JSON API: POST https://ledgerlysavingsgoal.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://ledgerlysavingsgoal.usefulweb.app/api/v1/tool) - OpenAPI: https://ledgerlysavingsgoal.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://ledgerlysavingsgoal.usefulweb.app/mcp - tool `ledgerly_savings_goal` ## Inputs - currency (text): Currency - ISO code used for the labels, e.g. EUR, USD, GBP. - mode (select): What to find - targetAmount (number): Savings goal - targetIn (select): The goal is in - startAmount (number): Already saved - years (number): Years until the goal (for the monthly amount) - monthlyContribution (number): Monthly amount (for the time needed) - annualReturnPercent (number): Interest or return (% per year) - compounding (select): Compounding - feePercent (number): Yearly fees (% of the balance) - inflationPercent (number): Inflation (% per year) - startMonth (text): First saving month (YYYY-MM, optional) - Gives the month you reach the goal; leave empty to count months only. ## Method - Each month the balance grows by the monthly rate, the fee (yearly percentage ÷ 12) is taken off, and the monthly amount is paid in at the end of the month. - Monthly amount for n months: P = (goal − saved · gⁿ) · (g − 1) / (gⁿ − 1), where g is the monthly growth factor after fees; rounded up to the cent. With no interest P = (goal − saved) / n. - Time needed: the balance is simulated month by month until it reaches the goal (at most 100 years). - A goal in today’s money grows with inflation every month, so it keeps its buying power. ## Limits - Interest rates and returns change; recheck the plan every year. Not financial advice.