Skip to content

Main content

Japan Take-Home Pay Calculator Source Code

Browse the implementation files for Japan Take-Home Pay Calculator.
tool.ts typescript
import TakeHomePayCalculator from '../TakeHomePayCalculator.svelte';
import { commonPeriods } from '../config';
import { createTakeHomePayPreview } from '../preview';
import { calculateJapanTakeHomePay } from './calculate';

export { calculateJapanTakeHomePay };

export const Tool: TypeTool = {
	name: 'Japan Take-Home Pay Calculator',
	slug: 'take-home-pay-calculator/jp',
	intro:
		'Estimate Japanese take-home pay after income taxes and employee social-insurance contributions.',
	tool: calculateJapanTakeHomePay,
	i: [],
	o: [
		{
			label: 'Take-home pay',
			placeholder: 'Estimated take-home pay',
			render: 'custom',
			renderas: TakeHomePayCalculator,
			type: 'text'
		}
	],
	takeHomePay: {
		advancedFields: [
			{
				key: 'dependents',
				label: 'Tax dependents',
				type: 'number',
				value: '0'
			},
			{
				key: 'ageBand',
				label: 'Age',
				options: [
					{ text: 'Under 40', value: 'under-40' },
					{ text: '40–64', value: '40-64' }
				],
				type: 'select',
				value: 'under-40'
			}
		],
		assumptions: [
			'2026 estimate',
			'Tokyo',
			'Resident employee',
			'No dependents',
			'Under age 40',
			'No bonuses'
		],
		country: 'Japan',
		countryCode: 'jp',
		currency: 'JPY',
		locale: 'ja-JP',
		locations: [{ text: 'Tokyo', value: 'tokyo' }],
		periods: commonPeriods,
		summaryPeriods: [
			{ text: 'Yearly pay', value: 'yearly' },
			{ text: 'Monthly pay', value: 'monthly' }
		]
	},
	cite: [
		{
			title: 'Japan National Tax Agency income-tax rates',
			url: 'https://www.nta.go.jp/taxes/shiraberu/taxanswer/shotoku/2260.htm'
		},
		{
			title: 'Japan employment-income deduction',
			url: 'https://www.nta.go.jp/english/taxes/individual/12012.htm'
		},
		{
			title: 'Japan Employees’ Pension Insurance',
			url: 'https://www.nenkin.go.jp/international/english/japanese-system/employeespension/epi_contribution.html'
		},
		{
			title: 'Tokyo 2026 health-insurance rate',
			url: 'https://www.kyoukaikenpo.or.jp/about/business/insurance_rate/rate_prefectures/r08/'
		}
	]
};

Tool.preview = createTakeHomePayPreview(Tool);

export default Tool;

Description

Browse the implementation files for Japan Take-Home Pay Calculator.

References

  1. Tool.io on GitHub
  2. Tool.io TypeScript tools library

Similar or alternative tools