Skip to content
/ taxify Public

A simple CLI program for estimating one's 2022 state income tax for a given taxable income in all 50 states at once (plus DC and federal)

License

Notifications You must be signed in to change notification settings

m12t/taxify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a 50-State-at-once tax calculator

[WARNING: THESE DOCS ARE OUTDATED]

  • This is a simple CLI tool for calculating state income tax in all 50 states at once for a given taxable income.
  • To run the program, either build it beforehand and call the executable, or simply run: go run taxify.go -income=xxxxxx
  • Results are returned in descending order by default, though this can be reversed by invoking the flag -ascending=true
  • In addition to the report that will automatically print to the terminal, you can specify other command line arguments to shape the output:
    • -plot=true will run the plot with default values
    • -top=x (default value is 7) will plot only the top x number of states. top here depends on the value for the flag -ascending, which defaults to false.
    • -ascending=true will rank the states from lowest to highest total income tax for the given income.
    • -numSteps=x is less important, and specifies the number of discrete calculations to be made between $0 and income to use when plotting. A higher value will lead to a smoother and more accurate plot, but there's diminishing returns. The default is 100, which works quite well. An example plot: Plot of effective tax from $0 to $1M in ordinary income

Example output to the terminal: Terminal output

About

A simple CLI program for estimating one's 2022 state income tax for a given taxable income in all 50 states at once (plus DC and federal)

Topics

Resources

License

Stars

Watchers

Forks