SAFE Conversion Calculator is a web app designed to help founders and investors understand how their SAFE notes convert to equity in a priced round. As a former founder, I was surprised by the lack of transparency and understanding about how the mechanics of this process work and how complex the conversion process can be given the lack of a closed form solution.
- Pre-Money and Post-Money SAFE Conversion: Supports both Pre-Money and Post-Money SAFE conversion or a mix of both.
- Configurable ESOP: Allows users to see how changing the size of their ESOP affects their conversion.
- Responsive Design: Ensures optimal viewing on various devices.
- Import/Export: Import and export investor data from a CSV file.
- Results Table & Charts: View the results of the conversion in a table and pie chart.
- Explainer with Mathematical Expressions: Provides an explanation of the conversion process complete with formulas and LaTeX notation.
To set up the project locally:
-
Clone the repository:
git clone https://github.com/rwong01/safe-conversion-calc.git cd safe-conversion-calc
-
Install dependencies:
npm install
or
yarn install
-
Start the development server:
npm run dev
or
yarn dev
The application will be accessible at
http://localhost:3000
.
After starting the development server:
- Navigate to
http://localhost:3000
in your browser. - Input the current round details, outstanding SAFEs, and future round details.
- View the results in the table and pie chart.
- Utilize the explainer to understand the conversion process.
- Next.js: Framework for server-rendered React applications.
- React: JavaScript library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework for styling.
- Radix UI: Accessible React components for building high-quality interfaces.
- Chart.js: JavaScript library for data visualization.
- KaTeX: Fast math typesetting library.
Contributions are welcome! To contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature-name
-
Make your changes.
-
Commit your changes:
git commit -m 'Add feature'
-
Push to the branch:
git push origin feature-name
-
Open a pull request detailing your changes.
This project is licensed under the MIT License. See the LICENSE file for details.