---
title: "GOSI Calculator"
method: GET
path: "/api/calc/gosi-calculator"
tags: ["Finance"]
---

# GOSI Calculator

`GET /api/calc/gosi-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/gosi-calculator`
- Auth: none declared

Saudis on the old system pay 9.75% GOSI and employers 11.75%; expats pay nothing. Covers the rising 2024-law pension rate and the SAR 45,000 wage cap.

## Query parameters

- `nationality` 'saudi' | 'nonsaudi': Employee
- `system` 'old' | 'new': First registered with GOSI
- `phase` '2024' | '2025' | '2026' | '2027' | '2028': Contribution period Under the new law the pension rate rises by 0.5% each July until 2028.
- `basic` number: Monthly basic salary
- `housing` number: Monthly housing allowance Cash housing allowance – GOSI wage = basic + housing.

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
