Skip to content

Functions for Google Sheets to calculate income tax and short/long term capital gains tax

License

Notifications You must be signed in to change notification settings

douglasco/google_sheets_tax_functions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Google Sheets Tax Functions

Functions for Google Sheets to calculate income tax and short/long term capital gains tax.

US Federal tax only.

Currently based on 2021 tax rates for Married Filing Jointly.

Usage

Calculate federal income tax on $50,000 of income:

=INCOMETAX(50000)

Calculate federal short term capital gains tax on $40,000 of capital gains if you had $50,000 of regular income:

=STCGTAX(50000, 40000)

Calculate federal long term capital gains tax on $40,000 of capital gains if you had $50,000 of regular income:

=LTCGTAX(50000, 40000)

Installation

  1. Make a Google sheet.
  2. Choose Tools: Script Editor from the menu.
  3. Paste the contents of tax_functions.js. Now they're available for use in the sheet.

About

Functions for Google Sheets to calculate income tax and short/long term capital gains tax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%