Developer builds client-side tool to calculate US lottery taxes for 21 countries
A developer created ChamTax, a browser-based calculator that estimates the actual take-home amount for non-US residents winning Powerball or Mega Millions jackpots. The tool accounts for the US federal 30% non-resident withholding tax under IRC §871(a) as well as each winner's home-country tax obligations across 21 nations. All tax models and US state rates are bundled as JavaScript objects and run entirely client-side, with no backend, database, or user accounts involved. Most countries use a flat-rate model with a foreign tax credit mechanism, though South Korea required a separate progressive bracket calculation tied to live KRW exchange rates. For six countries — including Thailand, Pakistan, and Cambodia — no clear statutory rule exists for taxing foreign lottery winnings, so the tool flags those cases rather than estimating figures.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in