A comprehensive calculator comparing startup exit tax implications between Canada and the United States. Explore the economics of ambition and understand how different exit scenarios impact founders through QSBS (USA) vs LCGE (Canada) tax benefits.
- Vite (v7.0.3) - Ultra-fast development and build tool
- React 19 with TypeScript - Latest React with full type safety
- Tailwind CSS - Modern utility-first CSS framework
- shadcn/ui - Beautiful, accessible React components
- Framer Motion - Smooth animations and transitions
- Bun - Fast package manager and runtime
startup-exit-calculator/
├── src/
│ ├── components/
│ │ ├── ui/ # shadcn/ui components
│ │ ├── Hero.tsx # Main calculator interface
│ │ └── ... # Other components
│ ├── lib/
│ │ ├── qsbs.ts # US QSBS calculations
│ │ ├── lcge.ts # Canada LCGE calculations
│ │ └── utils.ts # Utility functions
│ ├── App.tsx # Main application
│ └── index.css # Global styles
├── public/ # Static assets and logos
└── README.md
- Bun installed on your system
-
Install dependencies:
bun install
-
Start development server:
bun run dev
-
Open your browser: Visit
http://localhost:5173to see the calculator
-
Build for production:
bun run build
-
Preview production build:
bun run preview
-
Lint code:
bun run lint
- Exit Value Input - Set total company exit value and ownership percentage
- Currency Support - Toggle between USD and CAD with automatic conversion
- Real-time Calculations - Instant updates as you adjust parameters
- Tax Breakdown - Detailed breakdown of federal and state/provincial taxes
- Comparison View - Side-by-side comparison of Canada vs USA outcomes
- Qualified Small Business Stock exemption up to $15M USD
- Federal capital gains tax (0% on exempt gains, 20% on taxable)
- State-by-state tax variations
- All 50 US states supported
- Lifetime Capital Gains Exemption up to $1.25M CAD
- 50% inclusion rate for capital gains
- Federal and provincial tax calculations
- All Canadian provinces and territories supported
- Small business acquisitions
- Post-Series A exits
- Large venture capital returns
- Public company examples (Shopify, Airbnb)
- Responsive Design - Works seamlessly on desktop, tablet, and mobile
- Interactive Elements - Animated borders, hover effects, and smooth transitions
- Professional UI - Custom typography with Söhne, Financier Text, and Founders Grotesk fonts
- Tooltips - Contextual help explaining tax concepts
- Visual Feedback - Color-coded results showing which jurisdiction is more favorable
The calculator helps answer key questions:
- Which country offers better tax treatment for your exit scenario?
- How much would you save by incorporating in one jurisdiction vs another?
- What are the breakeven points between QSBS and LCGE benefits?
- How do state/provincial taxes impact the overall comparison?
The project can be deployed to any static hosting service:
-
Build the project:
bun run build
-
Deploy the
distfolder to your hosting provider:- Vercel
- Netlify
- GitHub Pages
- AWS S3
- Any static hosting service
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly across different scenarios
- Submit a pull request
Jesse Lee - jesselee.ca
Understanding the Economics of Ambition - Compare how startup exits are taxed in Canada vs the USA and make informed decisions about where to build your company.