Fast, Accurate, and Simple Malaysia Income Tax Estimator for Locals & Foreigners
This open-source Flutter Web Malaysia Tax Calculator helps you instantly estimate your monthly and yearly Malaysian income tax, whether you are a Malaysian resident or foreigner working in Malaysia.
It supports progressive resident tax brackets, non-resident flat tax rules, and provides a clean UI with monthly breakdowns and net salary calculations.
π Live App: https://jssuthahar.github.io/malaysiatax/ πΊ YouTube: https://www.youtube.com/@NikiBhavi
Many peopleβlocals, expats, tourists, new workersβstruggle to calculate Malaysian tax correctly. To make things simple, I created this free tax calculator website that helps you:
β Understand Malaysia income tax rules β Calculate tax for locals and foreigners β Estimate take-home salary β Learn about resident vs non-resident tax β View Malaysia's latest tax brackets
Please share this tool with your friends if they plan to work or move to Malaysia. π²πΎ Your support for NikiBhavi Vlog means a lot! π
Supports the complete Malaysian income tax system:
-
Residents β Progressive tax brackets
-
Foreigners β Non-resident flat rate (first 182 days), then progressive
-
Monthly and annual:
- Tax payable
- Total salary
- Net income
- Effective tax rate
- Clean dashboard
- YouTube banner promoting NikiBhavi channel
- Button navigation to Calculator
- Color-coded monthly breakdowns
- Fully responsive design
Includes a simple preview of:
- Resident tax brackets
- Non-resident tax rate
- Easy JSON-based configuration for future updates
- Monthly salary (MYR)
- Year of calculation
- Resident/Foreigner selection
- Arrival date (for foreigners)
This tool provides estimated tax values. Always verify with the official LHDN Malaysia π https://www.hasil.gov.my
π Use the Malaysia Tax Calculator https://jssuthahar.github.io/malaysiatax/
πΊ Watch & Support: NikiBhavi Vlog β https://www.youtube.com/@NikiBhavi
malaysia_tax_calculator/
β
ββ lib/
β ββ main.dart
β ββ home_page.dart # Home page with YouTube banner & tax overview
β ββ calculator_page.dart # Tax calculation logic & UI
β ββ tax_config.dart # Load tax brackets & non-resident rate
β
ββ assets/
β ββ tax_rules.json # Editable tax rules for Malaysia
β
ββ pubspec.yaml
ββ README.md
ββ web/
ββ index.html # Flutter Web entry point
git clone <your-repo-url>
cd malaysia_tax_calculatorflutter pub getflutter run -d chromeflutter build webOutput will be generated in build/web/ β ready for GitHub Pages hosting.
assets/tax_rules.json
{
"malaysia": {
"non_resident_rate": 0.30,
"resident_brackets": [
{ "limit": 5000, "rate": 0.01 },
{ "limit": 20000, "rate": 0.03 },
{ "limit": 35000, "rate": 0.08 },
{ "limit": 50000, "rate": 0.13 },
{ "limit": 70000, "rate": 0.21 },
{ "limit": 100000, "rate": 0.24 },
{ "limit": 250000, "rate": 0.24 },
{ "limit": 400000, "rate": 0.25 },
{ "limit": 600000, "rate": 0.26 },
{ "limit": 1000000, "rate": 0.28 },
{ "limit": "infinity", "rate": 0.30 }
]
}
}- View NikiBhavi YouTube banner
- View Malaysia tax bracket summary
- Click Start Calculation
-
Enter your monthly salary
-
Choose year
-
Select:
- Local resident
- Foreigner
-
If foreigner β enter arrival date
-
Click Calculate
-
View:
- Monthly tax
- Total tax
- Total salary
- Net income
- Effective tax %
- Foreigners pay 30% flat for first 182 days.
- After crossing 182 days β switch to resident tax (progressive).
- JSON tax rules allow quick tax updates without app modifications.
- All results are estimates only.
- Always refer to LHDN Malaysia for final confirmation.
dependencies:
flutter:
sdk: flutter
url_launcher: ^6.2.1MIT License Β© Suthahar Jegatheesan


