A web-based calculator for analyzing Time-Income Efficiency Ratios (TIER) to help evaluate different income scenarios and work-life balance decisions.
The TIER Model Calculator helps you compare different work situations by calculating a ratio that measures how efficiently you're using your time to generate income. It takes into account both active income (requiring your time) and passive income (not requiring ongoing time investment).
The calculator compares two scenarios:
- Your current situation
- A potential new offer or alternative scenario
For each scenario, you can input:
- Passive Income (monthly)
- Active Income (monthly)
- Work Hours per Day
- Work Days per Month
- Interactive comparison of two income scenarios
- Automatic calculation of TIER ratios
- Visual representation of results through charts
- Detailed breakeven analysis
- Responsive design for desktop and mobile use
- Clean, light theme interface
- Node.js 18.0 or higher
- npm or yarn
- Clone the repository:
git clone https://github.com/gehrkev/tier-model-calculator.git
cd tier-model-calculator
- Install dependencies:
npm install
# or
yarn install
- Start the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser.
To create a production build:
npm run build
# or
yarn build
The built files will be in the out
directory.
The calculator provides several key pieces of information:
-
TIER Ratio (R value)
- Lower values indicate better time-income efficiency
- R = 0 represents pure passive income (theoretically optimal)
-
Comparison Analysis
- Whether the new offer improves your time-income efficiency
- Breakeven points for different variables
- Required adjustments to match current efficiency
-
Visual Representations
- Bar charts comparing income and hours
- Clear indicators of efficiency improvements or declines
src/
├── app/ # Next.js app directory
├── components/
│ ├── NumericInput.tsx # Reusable numeric input component
│ ├── ResultsCard.tsx # Results display component
│ ├── ResultsChart.tsx # Data visualization component
│ ├── SituationCard.tsx # Input form component
│ └── ui/ # Base UI components
├── lib/
│ ├── calculations.ts # TIER model calculations
│ └── utils.ts # Utility functions
- Next.js - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- Recharts - Data visualization
- shadcn/ui - UI components
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details.
- TIER Model mathematical foundation by Vitor André Gehrke (TBA to the documents)
- UI components from shadcn/ui