50/30/20 Budget Calculator

50/30/20 Budget Calculator

The 50/30/20 budget rule is a simple way to manage your finances: 50% for needs, 30% for wants, and 20% for savings and debt repayment. Use this calculator to create your personalized budget plan.

Enter Your Income

Add Expenses

Your 50/30/20 Budget

Needs (50%)

$0 / $0
Allocated: $0

Wants (30%)

$0 / $0
Allocated: $0

Savings (20%)

$0 / $0
Allocated: $0

Your Expenses

Name
Category
Amount
Actions
`; printWindow.document.open(); printWindow.document.write(htmlContent); printWindow.document.close(); // Delay printing to ensure content is loaded setTimeout(() => { printWindow.print(); }, 500); }); // Export to Excel/CSV function exportExcelBtn.addEventListener('click', () => { // Create CSV content let csvContent = "data:text/csv;charset=utf-8,"; // Add header csvContent += "50/30/20 Budget - Generated on " + new Date().toLocaleDateString() + "\r\n\r\n"; // Add income summary csvContent += "Monthly Income,$" + monthlyIncome.toFixed(2) + "\r\n\r\n"; // Add budget categories csvContent += "Category,Percentage,Budget Amount,Allocated,Usage %\r\n"; csvContent += "Needs,50%,$" + budgetData.needs.amount.toFixed(2) + ",$" + budgetData.needs.allocated.toFixed(2) + "," + (budgetData.needs.amount > 0 ? ((budgetData.needs.allocated / budgetData.needs.amount) * 100).toFixed(1) : "0") + "%\r\n"; csvContent += "Wants,30%,$" + budgetData.wants.amount.toFixed(2) + ",$" + budgetData.wants.allocated.toFixed(2) + "," + (budgetData.wants.amount > 0 ? ((budgetData.wants.allocated / budgetData.wants.amount) * 100).toFixed(1) : "0") + "%\r\n"; csvContent += "Savings,20%,$" + budgetData.savings.amount.toFixed(2) + ",$" + budgetData.savings.allocated.toFixed(2) + "," + (budgetData.savings.amount > 0 ? ((budgetData.savings.allocated / budgetData.savings.amount) * 100).toFixed(1) : "0") + "%\r\n\r\n"; // Add expenses csvContent += "Expenses\r\n"; csvContent += "Name,Category,Amount\r\n"; expenses.forEach(expense => { csvContent += expense.name + "," + capitalizeFirstLetter(expense.category) + ",$" + expense.amount.toFixed(2) + "\r\n"; }); // Create download link const encodedUri = encodeURI(csvContent); const link = document.createElement("a"); link.setAttribute("href", encodedUri); link.setAttribute("download", "50-30-20-budget.csv"); document.body.appendChild(link); link.click(); document.body.removeChild(link); }); // Initialize if (window.innerWidth >= 768) { inputSection.classList.add('active-section'); resultsSection.classList.add('active-section'); } else { inputSection.classList.add('active-section'); }

Data Privacy Policy – Terms & Conditions

My work offers information about saving, planning, budgeting and investments, but never personal advice. If you’re unsure what financial products are right for you, including investments, then please seek professional financial advice from a certified & regulated independent financial advisor. Please be reminded that when it comes to investments, your capital is at risk.

NEWSLETTER