Skip to content

Bangladesh Tax Calculator - A Vue.js application for calculating income tax for salaried people in Bangladesh with support for 2023-2024 tax years

License

Notifications You must be signed in to change notification settings

nadimtuhin/tax-calculator

Repository files navigation

πŸ‡§πŸ‡© Bangladesh Tax Calculator

A modern, user-friendly web application for calculating income tax in Bangladesh

Live Demo

Vue 3 MIT License PRs Welcome Maintained


✨ Overview

Bangladesh Tax Calculator is a comprehensive Vue 3 application designed to help salaried individuals in Bangladesh calculate their income tax obligations accurately. Now featuring dual tax comparison between FY 2024-2025 and FY 2025-2026, this tool provides detailed breakdowns, investment tracking, and supports different taxpayer categories with side-by-side comparison of tax structures.

🎯 Accurate
Follows official NBR guidelines
⚑ Fast
Instant calculations
πŸ“± Responsive
Works on all devices
πŸ”’ Private
All data stays local

🎯 Key Features

πŸ’Ό Tax Management

  • βœ… Dual tax comparison FY 2024-25 vs 2025-26
  • βœ… Side-by-side calculation display
  • βœ… Multiple taxpayer profiles (General, Female, Senior, Disabled, Freedom Fighter)
  • βœ… Detailed salary component breakdown
  • βœ… Investment tracking & progressive rebate rates
  • βœ… TDS calculation support

πŸ› οΈ User Experience

  • βœ… Clean, intuitive interface
  • βœ… Real-time calculations
  • βœ… Data persistence across sessions
  • βœ… Export/Import functionality
  • βœ… Mobile-optimized design

πŸ†• What's New in v1.2.0

Feature Description
βš–οΈ Dual Tax Comparison Side-by-side comparison of FY 2024-25 vs FY 2025-26 tax calculations
πŸ“Š Tax Structure Changes Reflects new thresholds, unified minimum tax, and progressive rebate rates
πŸ’° Savings Calculator Shows tax savings or additional tax with new structure
πŸ“± Responsive Comparison Mobile-optimized side-by-side or stacked layout
πŸ§ͺ Comprehensive Testing Full test coverage for dual calculations and edge cases
Previous Updates (v1.1.0)
Feature Description
πŸš€ Vue 3 Migration Enhanced performance and modern development experience
πŸ‘₯ Taxpayer Profiles Support for different taxpayer categories with specific exemptions
🎨 Enhanced UI Improved navigation with quick action buttons
πŸ§ͺ Better Testing Comprehensive unit and E2E test coverage
⚑ Performance Faster load times and improved reactivity

πŸš€ Quick Start

Prerequisites

  • Node.js 16.0 or higher
  • npm 8.0+ or Yarn 1.22+

Installation

# Clone the repository
git clone https://github.com/nadimtuhin/tax-calculator.git
cd tax-calculator

# Install dependencies
yarn install

# Start development server
yarn dev

Visit http://localhost:8080 to see the application running.

πŸ“¦ Available Scripts

Command Description
yarn dev Start development server
yarn build Build for production
yarn test Run unit tests
yarn test:e2e Run E2E tests
yarn test:all Run all tests
yarn lint Lint and fix files

πŸ—οΈ Technical Stack


Vue 3

Vuex 4

Vue Router 4

Jest

Playwright

πŸ“ Project Structure

src/
β”œβ”€β”€ πŸ“‚ components/          # Reusable Vue components
β”‚   β”œβ”€β”€ πŸ“„ Calculation-2024.vue    # FY 2024-25 calculations
β”‚   β”œβ”€β”€ πŸ“„ Calculation-2025.vue    # FY 2025-26 calculations
β”‚   β”œβ”€β”€ πŸ“„ TaxComparison.vue       # Dual comparison display
β”‚   β”œβ”€β”€ πŸ“„ Investment.vue
β”‚   β”œβ”€β”€ πŸ“„ TaxpayerProfile.vue
β”‚   └── ...
β”œβ”€β”€ πŸ“‚ pages/              # Page components
β”œβ”€β”€ πŸ“‚ store/              # Vuex store modules
β”œβ”€β”€ πŸ“‚ router/             # Vue Router configuration
β”œβ”€β”€ πŸ“‚ utils/              # Utility functions
β”‚   β”œβ”€β”€ πŸ“„ taxSlabs.js             # FY 2024-25 tax logic
β”‚   └── πŸ“„ taxSlabs2025.js         # FY 2025-26 tax logic
β”œβ”€β”€ πŸ“„ calculateTaxBreakdown.js    # FY 2024-25 calculations
└── πŸ“„ calculateTaxBreakdown2025.js # FY 2025-26 calculations

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Quick Contribution Steps
  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“ˆ Roadmap

  • Dual tax comparison (FY 2024-25 vs 2025-26)
  • Historical tax year comparisons
  • Export comparison reports (PDF/Excel)
  • Business income tax calculation
  • Tax planning recommendations
  • Multi-language support (Bengali)
  • Chart visualizations for tax breakdown

πŸ“š Documentation

πŸ‘¨β€πŸ’» Author

Nadim Tuhin

πŸ“§ Email β€’ πŸ™ GitHub

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • National Board of Revenue (NBR) Bangladesh for tax guidelines
  • Vue.js community for excellent documentation
  • All contributors who have helped improve this project

⭐ If this project helps you, please give it a star!

Report Bug β€’ Request Feature

About

Bangladesh Tax Calculator - A Vue.js application for calculating income tax for salaried people in Bangladesh with support for 2023-2024 tax years

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages