ForHosting KIT · Developer Utilities

Fractional excretion of sodium calculator

The fractional excretion of sodium calculator determines the percentage of filtered sodium that is excreted in urine.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter paired plasma and urine sodium concentrations together with paired plasma and urine creatinine concentrations, and the calculator applies the standard FENa equation. The computation is fully offline, deterministic, and transparent: the result includes the formula and normalized inputs used. It is intended as a calculation aid for qualified interpretation, not as a diagnosis or a substitute for clinical assessment.

Enter a matched set of four measurements

FENa requires four positive measurements: plasma sodium, urine sodium, plasma creatinine, and urine creatinine. Use values collected closely enough in time to represent the same clinical state, because combining unrelated samples can produce a mathematically valid percentage that does not describe a meaningful physiologic moment. Sodium units must match each other, so plasma and urine sodium may both be entered in mmol/L or both in mEq/L. Creatinine units must also match each other, such as mg/dL for both plasma and urine creatinine. The sodium unit does not need to match the creatinine unit because each ratio cancels within its own analyte. Enter bare numeric concentrations without unit symbols, commas, inequality signs, or explanatory text. Every value must be finite and strictly greater than zero. A missing value, zero, negative value, nonnumeric string, NaN, or infinity produces an invalid-input error instead of a speculative answer. Check decimal placement and confirm that urine and plasma labels have not been reversed before using the result elsewhere.

Understand the deterministic calculation

The calculator uses FENa (%) = (urine sodium × plasma creatinine) ÷ (plasma sodium × urine creatinine) × 100. Creatinine acts as a filtration reference, allowing sodium excretion to be expressed as a fraction of the filtered sodium load rather than as a urine concentration alone. For example, dilute or concentrated urine can change a raw urine sodium measurement, while the paired creatinine relationship supplies needed context within the equation. The implementation performs only constant-time arithmetic after validating the four fields. It does not contact a laboratory system, infer missing measurements, choose substitute values, use a model, or retain data. To make automated comparisons stable, the returned percentage and echoed inputs are normalized to twelve significant digits. The response also states the percentage unit and exact formula string, making it practical to audit a calculation or reproduce it independently. Because the operation is deterministic, identical valid inputs always produce the same JSON result in the browser and through the API.

Interpret the percentage with clinical context

FENa is a derived laboratory index, not a standalone diagnosis. Thresholds are often discussed in evaluation of acute kidney injury, but their meaning depends on the patient, timing, treatment, kidney function, and the clinical question. Diuretics can alter urinary sodium handling, while sepsis, contrast exposure, glomerular disease, obstruction, chronic kidney disease, and other settings may weaken simple threshold-based interpretations. A value should therefore be reviewed alongside urine output, volume assessment, trends in creatinine, medication exposure, urinalysis, and other relevant findings. This capability deliberately returns the computed percentage without assigning a disease category or recommending treatment. It also does not validate whether a measurement method, specimen timing, or chosen unit is clinically appropriate; it verifies only that the four supplied values are positive finite numbers. Qualified clinicians should apply local protocols and current guidance. If a result is surprising, first verify transcription, specimen pairing, and unit consistency, then recalculate rather than changing an input merely to obtain an expected category.

Check a bedside calculation

Reproduce a FENa percentage from four paired laboratory measurements and retain the explicit formula with the result.

Add deterministic math to a workflow

Compute FENa in an offline browser flow or through an API without network-dependent clinical logic or inferred values.

Audit a recorded percentage

Compare a reported FENa value with a transparent recalculation using the original plasma and urine concentrations.

What does a calculation cost?

The API price is $0.002 per request. The browser calculation runs locally using the same deterministic logic.

Which formula is used?

FENa (%) = (urine sodium × plasma creatinine) ÷ (plasma sodium × urine creatinine) × 100.

Do plasma and urine values need the same units?

The two sodium measurements must share a unit, and the two creatinine measurements must share a unit. Sodium and creatinine do not need to use the same kind of unit.

What happens when an input is zero or negative?

The request fails with an invalid-input error. All four concentrations must be finite numbers strictly greater than zero.

Does the result diagnose a cause of acute kidney injury?

No. It reports the arithmetic percentage only. Clinical interpretation depends on timing, medications, kidney function, volume status, and other findings.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/health/fena

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/health/fena \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plasma_sodium":140,"urine_sodium":40,"plasma_creatinine":2,"urine_creatinine":100}'
{
  "plasma_sodium": 140,
  "urine_sodium": 40,
  "plasma_creatinine": 2,
  "urine_creatinine": 100
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "health.fena",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →