A sophisticated cap table simulator designed to model partnership negotiations and understand the financial impact of bringing on new partners. Adjust deal structures, vesting schedules, and performance milestones to see real-time effects on ownership percentages and exit payouts.
Version: 0.2.0 | License: MIT | Status: Production Ready β
- π Getting Started - Quick start guide (below)
- π Troubleshooting - Common issues & solutions
- π CONTRIBUTING.md - How to contribute
- βοΈ LICENSE - MIT License details
- π§ SETUP_GUIDE.md - Detailed OS-specific setup
- π TROUBLESHOOTING.md - Detailed troubleshooting
- π CODE_OF_CONDUCT.md - Community guidelines
- Two Partnership Paths: Compare different deal structures (Path A and Path B)
- Flexible Investment Vehicles: Model priced rounds or SAFEs with custom valuations
- Milestone-Based Vesting: Performance equity that unlocks based on real business milestones
- Dynamic Cap Table: Live visualization of ownership distribution as you adjust parameters
- Founder Flexibility: Model multiple founders with custom equity splits
- Exit Waterfall: Detailed exit scenario modeling with conservative/base/optimistic cases
- Milestone Timeline: Interactive visualization of vesting schedule and performance milestones
- Pool Target Planning: Set desired option pool percentage with actionable recommendations
- Equity Breakdown: Clear visualization of partner, founder, and pool equity distribution
- Exit Payouts: Calculate exact dollar amounts each stakeholder receives at different valuations
- Save Scenarios: Store deal structures with names and descriptions
- Scenario History: Access saved scenarios with timestamps
- Quick Comparison: Foundation for comparing multiple deal structures
- Persistent Storage: Scenarios saved in browser for future reference
- Strategic Guardrails: Built-in warnings for common deal structure pitfalls
- Partner equity caps (max 12%)
- Minimum employee option pool (min 8%)
- Founder concentration risks
- Founder equity disparity checks
- Health Indicators: Visual feedback on option pool adequacy
The easiest way to get started:
git clone https://github.com/Stackbilt-dev/equity-scenario-sim.git
cd equity-scenario-sim
npm install -g yarn # Recommended for Windows users
yarn install # or: npm install
yarn dev # or: npm run devThen open http://localhost:5173/ in your browser
- Node.js: v18 or higher (install here)
- npm: v9 or higher (comes with Node.js)
- Recommended: Yarn for Windows users
For detailed setup instructions for your operating system, see SETUP_GUIDE.md
-
Clone the repository:
git clone https://github.com/Stackbilt-dev/equity-scenario-sim.git cd equity-scenario-sim -
Install dependencies:
# Option A: Using Yarn (Recommended for Windows) npm install -g yarn yarn install # Option B: Using npm npm install
-
Start the development server:
# Option A: Using Yarn yarn dev # Option B: Using npm npm run dev
-
Open in browser:
- The server will show a URL (typically
http://localhost:5173) - Click the link or open in your browser
- Start modeling equity scenarios!
- The server will show a URL (typically
Windows npm error about @rollup/rollup-win32-x64-msvc?
# Use Yarn instead (recommended for Windows)
npm install -g yarn
yarn install
yarn devPort 5173 already in use?
# Use a different port
yarn dev --port 3000 # or: npm run dev -- --port 3000Node.js or npm not found?
- Download Node.js from nodejs.org (LTS version)
- Install it
- Restart your terminal
- Verify:
node --versionandnpm --version
For more help, see TROUBLESHOOTING.md or open a GitHub Issue
npm run devoryarn dev- Start development server with hot reloadnpm run buildoryarn build- Build for productionnpm run previeworyarn preview- Preview production build locally
Note: On Windows, Yarn is recommended for better dependency handling
- React 19
- TypeScript
- Vite
- Tailwind CSS
App.tsx- Main application component with core cap table logiccomponents/- Reusable UI componentstypes.ts- TypeScript type definitionsindex.tsx- Application entry point
The simulator allows you to:
- Select a partnership path with different vesting and equity terms
- Configure investment terms (amount, valuation, vehicle type)
- Set up founders with initial equity splits
- Track milestones to unlock performance-based equity
- Monitor the cap table in real-time as values change
- Plan your option pool target and get recommendations
- Model exit scenarios with different valuations
- Visualize vesting timeline and milestone achievements
- Save scenarios for later reference and comparison
The app uses a responsive 4-column design:
- Column 1: Inputs & Configuration - Set up the founders, timeline, and milestones
- Column 2: Deal Configuration - Configure investment terms, investment vehicle, and option pool targets
- Column 3: Outcomes & Analysis - View comparison summaries, scenario details, and vesting timeline
- Column 4: Exit Analysis & Management - Model exit scenarios, calculate payouts, and save/manage scenarios
On smaller screens, columns stack responsively for optimal viewing.
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License means you can:
- β Use commercially
- β Modify the code
- β Distribute copies
- β Use privately
- β Sublicense
The only requirement is to include the original license and copyright notice.
Contributions are welcome! Feel free to:
- Submit issues for bugs or feature requests
- Fork the repository and submit pull requests
- Share improvements and enhancements
This project is fully open sourced and available for anyone to use, modify, and distribute. The source code is maintained on GitHub and welcomes community contributions.
- Original Design & Development: Stackbilt
- Technology Stack: React 19, TypeScript, Vite, Tailwind CSS
- Community: Thanks to all contributors and users
Built by Stackbilt β MIT License
