Skip to content

Smart expense tracker with 50/30/20 budgeting, automatic calculations, and savings management

Notifications You must be signed in to change notification settings

Rodwanbagdadi/Expenses_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

💰 Monthly Expense Tracker

🔗 Live Demo: (https://rodwanbagdadi.github.io/Expenses_Tracker/)

A comprehensive personal finance management app built with vanilla HTML, CSS, and JavaScript. Track your monthly expenses using the proven 50/30/20 budgeting rule with automatic calculations, savings tracking, and historical data visualization.

✨ Features

🎯 50/30/20 Budgeting System

  • Automatic Budget Allocation: Enter your salary and watch the app automatically calculate:
    • 50% for Needs (Rent, Groceries, Utilities, Transportation)
    • 30% for Wants (Entertainment, Dining Out, Hobbies)
    • 20% for Savings
  • Real-time Updates: All columns update automatically when you add expenses

💳 Smart Expense Management

  • Categorized Spending: Separate tracking for Needs and Wants
  • Instant Calculations: See spent amounts and remaining budget in real-time
  • Multiple Currency Support: JD, USD, EUR, GBP
  • Easy Data Entry: Quick expense addition with keyboard shortcuts

🏦 Advanced Savings Features

  • Cross-Month Savings Tracking: View total accumulated savings
  • Smart Withdrawal System: Modal dialog for categorizing withdrawals
  • Savings Indicators: Visual markers (💰) for expenses funded from savings
  • Available Balance: Prominent display of current savings balance

📊 Historical Data & Analytics

  • Month-by-Month Navigation: Switch between different months seamlessly
  • Expense History: Complete record of all past expenses
  • Savings Chart: Line graph showing savings trends over time
  • Data Persistence: All data saved locally in browser storage

🚀 Smart Automation

  • Automatic Carry-Over: Unspent budget automatically rolls over to next month
  • Intelligent Calculations: Real-time budget remaining and totals
  • Toast Notifications: User-friendly success/error messages
  • Responsive Design: Works perfectly on desktop and mobile devices

🛠️ Technologies Used

  • Frontend: Pure HTML5, CSS3, JavaScript (ES6+)
  • Charts: Chart.js for data visualization
  • Storage: LocalStorage for data persistence
  • Design: Modern dark theme with gradient effects
  • Responsive: CSS Grid and Flexbox for all screen sizes

💡 How to Use

1. Set Your Monthly Income

  • Enter your base salary
  • Add any extra income for the month
  • Budget allocations calculate automatically

2. Track Your Expenses

  • Add expenses to "Needs" or "Wants" categories
  • Watch your remaining budget update in real-time
  • See your savings grow automatically

3. Manage Your Savings

  • View accumulated savings prominently displayed
  • Make withdrawals with categorization options
  • Track where your savings are being spent

4. Review Your History

  • Switch between different months
  • View complete expense history
  • Analyze savings trends with interactive charts

🎨 Features in Detail

Automatic Budget Calculations

When you enter your salary, the app automatically:

  • Calculates 50% for essential needs
  • Allocates 30% for lifestyle wants
  • Sets aside 20% for savings
  • Updates all displays instantly

Smart Carry-Over System

  • Unspent money from previous months automatically carries forward
  • Visual indicators show carry-over amounts
  • Helps build savings over time

Comprehensive Tracking

  • Real-time balance updates as you add expenses
  • Visual expense indicators show savings-funded purchases
  • Monthly summaries with total income, spending, and savings
  • Interactive charts for long-term trend analysis

🎯 Perfect For

  • Personal Finance Beginners: Easy-to-understand 50/30/20 rule
  • Budget Trackers: Detailed expense categorization
  • Savings Goals: Visual progress tracking
  • Financial Planning: Historical data analysis
  • Privacy-Conscious Users: Local-only data storage

📱 Responsive Design

The app works seamlessly across all devices:

  • Desktop: Full-featured interface with multi-column layout
  • Tablet: Optimized grid layout for medium screens
  • Mobile: Single-column layout with touch-friendly controls

🤝 Contributing

Contributions are welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Improve documentation

📄 License

This project is open source and available under the MIT License.

🛡️ Browser Support

  • ✅ Chrome (Latest)
  • ✅ Firefox (Latest)
  • ✅ Safari (Latest)
  • ✅ Edge (Latest)
  • ✅ Mobile browsers

📧 Support

If you encounter any issues or have questions, please open an issue on GitHub.


Take control of your finances with smart budgeting! 💪

About

Smart expense tracker with 50/30/20 budgeting, automatic calculations, and savings management

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages