1.1.0 • Published 5 years ago

us-tax-estimator v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

us-tax-estimator

Estimate US federal income tax by providing basic income information.

This tool is not meant to provide tax advice. This tool is for informational purposes only, and is not intended to provide, and should not be relied on for tax advice. You should consult your own tax advisors before engaging in any transaction.

Usage

var estimator = require("./us-tax-estimator.js");

var year = "2017";  // 2016 - 2019
var filingStatus = "single"; // "single" or "marriedFilingJointly"
var grossIncome = 300000;
var exemptions = 1;
var deductions = estimator.constants.standardDeduction[year][filingStatus];

var tax = estimator.calculate(year, filingStatus, grossIncome, exemptions, deductions);

/** Returns an object with 4 properties that looks like this:
 * { 
 *    exemptionAmount: 2754,                                                                                                                             
 *    taxableIncome: 290896,                                                                                                                             
 *    tax: 79388,                                                                                                                                        
 *    effectiveTaxRate: 0.2646266666666667 
 * } 
 */

View a simple demo here: https://jdifebo.github.io/us-tax-estimator/

1.1.0

5 years ago

1.0.1

6 years ago

1.0.0

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago