{"id":22244190,"url":"https://github.com/bramp/marriage-penalty","last_synced_at":"2025-09-05T08:25:40.488Z","repository":{"id":264507343,"uuid":"824344129","full_name":"bramp/marriage-penalty","owner":"bramp","description":"Graph of the Marriage Bonus / Penalty","archived":false,"fork":false,"pushed_at":"2024-07-04T23:35:17.000Z","size":386,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T22:27:20.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bramp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"bramp","buy_me_a_coffee":"bramp"}},"created_at":"2024-07-04T23:32:46.000Z","updated_at":"2024-07-04T23:44:47.000Z","dependencies_parsed_at":"2024-11-25T04:09:07.688Z","dependency_job_id":null,"html_url":"https://github.com/bramp/marriage-penalty","commit_stats":null,"previous_names":["bramp/marriage-penalty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bramp/marriage-penalty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fmarriage-penalty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fmarriage-penalty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fmarriage-penalty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fmarriage-penalty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramp","download_url":"https://codeload.github.com/bramp/marriage-penalty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramp%2Fmarriage-penalty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273729581,"owners_count":25157459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T04:35:26.505Z","updated_at":"2025-09-05T08:25:40.476Z","avatar_url":"https://github.com/bramp.png","language":"R","funding_links":["https://github.com/sponsors/bramp","https://buymeacoffee.com/bramp"],"categories":[],"sub_categories":[],"readme":"# Graph of the Marriage Bonus / Penalty\n\nby [Andrew Brampton](https://bramp.net)\n\n\u003e [!WARNING]\n\u003e **Disclaimer**: None of this is financial advice, just my afternoon of hacking code.\n\nThis project uses [tax simulations](https://taxsim.nber.org/taxsim35/) to graph the marriage penalty in the US. The marriage penalty is a phenomenon where married couples pay more in taxes than they would if they were single and filing separately. Sometimes a marriage bonus exists if the income of the two spouses is significantly different.\n\n## Examples\n\nFor the 2023 tax year, for a couple living in California, assuming income from wages only, the breakdown is as such:\n\n![Marriage bonus / penalty in a wages only scenario](penalty-simple.svg)\n\n1. If the primary taxpayer earns $500,000 and the spouse earns $50,000 then there is a tax bonus of ~10%, over the total tax paid if they were not married. \n\n2. If both spouses earn $250,000 then there is a penality of between 0 and 1% over being unmarried.\n\n3. If both are tech-moguls their penality is 4% or higher over being unmarried.\n\nAnother example, for the 2023 tax year, a couple living in California, assuming income from wages with an additional 5% dividends + 5% interest + 5% short-term capital gains + 5% long-term capital gains.\n\n![Marriage bonus / penalty in a more complex scenario](penalty-extra.svg)\n\n\n## Create Data\n\nEdit `tax.r` for your needs, and then\n\n```shell\nRscript tax.r\n\n# This will generate penalty.csv and penalty.svg\n```\n\n\n## Pre-generated Data\n\n* [penalty-simple.csv](penalty-simple.csv) Income is 100% from wages, not captain gains, etc.\n* [penalty-extra.csv](penalty-extra.csv) Income from wages + additional 5% (dividends, interest, short-term capital gains, long-term capital gains).\n\n\n## Sources\nhttps://www.investopedia.com/terms/m/marriage-penalty.asp\nhttps://taxsim.nber.org/taxsim35/\nhttps://www.shaneorr.io/r/usincometaxes/\nhttps://www.shaneorr.io/r/usincometaxes/articles/taxsim-output\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Fmarriage-penalty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramp%2Fmarriage-penalty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramp%2Fmarriage-penalty/lists"}