Employment Cost Estimate
Estimate the total employer cost and the net salary for a role in 20+ countries, including social contributions, pension and income tax.
Pay by wallet (x402)
employment-cost-estimate Example
Input
{
"currency": "EUR",
"country_code": "SE",
"gross_salary": 1
} Answer
{
"period": "annual",
"currency": "EUR",
"country_code": "SE",
"country_name": "Sweden",
"gross_salary": 1,
"breakdown_notes": [
"Employer contributions (arbetsgivaravgifter) 31.42% cover pension, health, parental insurance, etc.",
"Municipal tax varies 29-35%; 32% used as average.",
"State income tax 20% applies above SEK 614,000 (2024).",
"Reduced employer contributions for young employees (<23) and seniors (>65)."
],
"effective_tax_rate": 0,
"net_salary_estimate": 1,
"total_employer_cost": 1.31,
"employer_contributions": {
"total_amount": 0.31,
"other_percent": 0,
"total_percent": 31.42,
"pension_percent": 0,
"social_security_percent": 31.42
}
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
currency | string | No | — |
country_code | string | Yes | — |
gross_salary | number | Yes | — |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
effective_tax_rate | number | Always (present in every successful answer) |
net_salary_estimate | number | Always (present in every successful answer) |
total_employer_cost | number | Always (present in every successful answer) |
employer_contributions | object | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
-H "Authorization: Bearer $STRALE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "employment-cost-estimate",
"inputs": {
"currency": "EUR",
"country_code": "SE",
"gross_salary": 1
},
"max_price_cents": 3
}' {
"tool": "strale_execute",
"arguments": {
"slug": "employment-cost-estimate",
"inputs": {
"currency": "EUR",
"country_code": "SE",
"gross_salary": 1
},
"max_price_cents": 3
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "employment-cost-estimate",
inputs: {
"currency": "EUR",
"country_code": "SE",
"gross_salary": 1
},
max_price_cents: 3,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="employment-cost-estimate",
inputs={
"currency": "EUR",
"country_code": "SE",
"gross_salary": 1,
},
max_price_cents=3,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/employment-cost-estimate?currency=EUR&country_code=SE&gross_salary=1' Limitations
Actual employment costs can differ from estimates
AI-generated estimates based on general knowledge — actual costs vary by industry, company size, and specific benefits packages
What to do instead: Use as a ballpark estimate and validate against local payroll provider quotes for budgeting decisions
Related tools
- Address Geocoding €0.02
- Barcode Lookup €0.05
- Container Tracking €0.05
- Country Lookup €0.02
- Country Tax Rates €0.02
- Country Trade Data €0.20