A comprehensive React-based investment analysis tool for GPU hardware portfolios. This calculator helps investors analyze the financial performance of GPU investments across different providers and hardware configurations.
- Interactive Assumptions Editor: Modify key parameters like GPU counts, costs, hourly rates, and utilization
- Executive Summary: High-level overview of investment performance
- Year-over-Year Analysis: Detailed portfolio performance across 3 years
- GPU Grouped Summary: Performance breakdown by GPU model and provider
- Financial Model: Detailed financial calculations and projections
- RTX 4090: Consumer-grade GPU with high performance
- RTX 5090: Next-generation consumer GPU
- H200: Enterprise-grade GPU for AI workloads
- FarmGPU: Specialized GPU rental platform
- Pantheon: Alternative GPU marketplace
- Initial investment costs
- Monthly and annual revenue projections
- Net income after marketplace and provider fees
- Hardware residual values
- Internal Rate of Return (IRR)
- Cumulative performance metrics
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/esaung/gpucalculator.git
cd gpucalculator- Install dependencies:
npm install- Start the development server:
npm start- Open http://localhost:3000 to view it in the browser.
npm run buildThis creates an optimized production build in the build folder.
To deploy to GitHub Pages:
- Add homepage to package.json:
"homepage": "https://esaung.github.io/gpucalculator"- Install gh-pages:
npm install --save-dev gh-pages- Add deploy scripts to package.json:
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}- Deploy:
npm run deploy- Build the project:
npm run build - Drag the
buildfolder to Netlify's deploy area - Or connect your GitHub repository for automatic deployments
- Install Vercel CLI:
npm i -g vercel - Deploy:
vercel
- Key Assumptions Tab: Start by editing the key parameters for your GPU investments
- Executive Summary Tab: View high-level investment performance
- YoY Portfolio Summary Tab: See year-over-year performance breakdown
- GPU Grouped Summary Tab: Analyze performance by GPU model and provider
- Financial Model Tab: Detailed financial calculations and projections
- React 18: Modern React with hooks
- Tailwind CSS: Utility-first CSS framework
- Create React App: Development and build tooling
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository or contact the development team.