Advertisement
mjaniec

Personal Income Tax in Japan 2012

Nov 20th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 1.11 KB | None | 0 0
  1. # http://www.worldwide-tax.com/japan/japan_tax.asp
  2. # http://www.hi-ho.ne.jp/yokoyama-a/taxationinjapan.htm
  3. # http://www.japan-guide.com/e/e2206.html
  4. # 2DO: requires verification of calculation rules
  5.  
  6. JapanTax <- function(income) {
  7.      
  8.   if (income<1.95e6)                     pit <- 0.05*income
  9.  
  10.   if (income>1.95e6 && income<=3.30e6)   pit <- 0.10*income
  11.  
  12.   if (income>3.30e6 && income<=6.95e6)   pit <- 0.10*3.3e6+0.20*(income-3.30e6)
  13.  
  14.   if (income>6.95e6 && income<=9.00e6)   pit <- 0.10*3.3e6+0.20*(9.00e6-3.30e6)+0.23*(income-9.00e6)
  15.  
  16.   if (income>9.00e6 && income<=18.00e6)  pit <- 0.10*3.3e6+0.20*(9.00e6-3.30e6)+0.23*(18.00e6-9.00e6)+0.33*(income-9.00e6)
  17.  
  18.   income.postPIT  <- income-pit
  19.  
  20.   municipal       <- income.postPIT*0.06
  21.   prefectural     <- income.postPIT*0.04
  22.  
  23.   income.net      <- income.postPIT-municipal-prefectural
  24.  
  25.   taxes           <- pit+municipal+prefectural
  26.  
  27.   list( income.net=income.net, taxes=taxes, tax.rate=taxes/income )
  28.  
  29. }
  30.  
  31. # example:
  32. JapanTax(5e6)
  33.  
  34. # result
  35. > JapanTax(5e6)
  36. $income.net
  37. [1] 3897000
  38.  
  39. $taxes
  40. [1] 1103000
  41.  
  42. $tax.rate
  43. [1] 0.2206
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement