- 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 is7
) will plot only the top x number of states.top
here depends on the value for the flag-ascending
, which defaults tofalse
.-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 andincome
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:
-
Notifications
You must be signed in to change notification settings - Fork 0
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
m12t/taxify
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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)