Skip to content

Fair couple's expenses calculator based on each partner's income

License

Notifications You must be signed in to change notification settings

antonxo/couples-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Couple's Expense Calculator

A simple, elegant web-based calculator that helps couples split their shared expenses fairly based on their respective incomes. The calculator ensures that each partner contributes the same percentage of their income to shared expenses, promoting financial equity in relationships.

Calculator Preview

Features

  • Clean, modern interface with a romantic theme
  • Responsive design that works on both desktop and mobile devices
  • Real-time input validation with visual feedback
  • Calculates proportional expense sharing based on income
  • Shows contribution amounts and percentage of income for each partner
  • No external dependencies - pure HTML, CSS, and JavaScript

Usage

  1. Enter your monthly income
  2. Enter your partner's monthly income
  3. Enter your total shared monthly expenses
  4. Click "Calculate Fair Split" to see the results

The calculator will show how much each partner should contribute both in currency amount and as a percentage of their income.

Getting Started

Simply clone the repository and open index.html in a web browser. No build process or installation required.

How It Works

The calculator uses the following formula to determine fair contributions:

  1. Calculates the total combined income
  2. Determines each person's percentage of the total income
  3. Applies that same percentage to the shared expenses

This ensures that both partners contribute proportionally to their means, making the financial arrangement more equitable regardless of income disparity.

License

MIT License - feel free to use and modify as needed.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have suggestions for improvements, please open an issue in the repository.

About

Fair couple's expenses calculator based on each partner's income

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages