Summary

InvestSim lets users adjust the assumptions behind a long-term investment and immediately see how they affect the result. Contributions, returns, inflation, fees, and taxes are modeled together, and charts with side-by-side scenarios expose the effect of every assumption.

From investment assumptions to a comparable long-term scenario

Assumptions

Users set contributions, returns, fees, and taxes

Simulation

The model calculates portfolio growth

Adjustments

Costs and inflation reshape the projection

Visualization

Charts expose change over time

Comparison

Alternative scenarios reveal tradeoffs

What the system handled

Models long-term growth, contributions, inflation effects, fees, taxes, and scenario comparisons.

Technology

Stack

Next.jsTypeScriptReactTailwind CSSRechartsRadix UIFinancial modeling

Areas

FrontendFinancial ModelingSimulation

Conclusions

  • Combining contributions, inflation, fees, and taxes in one model shows why nominal growth alone can give an incomplete picture of long-term value.
  • Side-by-side scenarios show which assumptions are responsible for the difference between forecasts.
  • The simulator provides educational scenarios based entirely on user-defined assumptions; future market behavior remains uncertain.
Contributions and compounding
year 1year 30

Want to inspect the implementation?

The repository contains the source, setup notes, and development history.

Open repository