How every number in Vari is calculated

Vari records what you log. It does not give medical advice.

Vari never recommends a fluid or sodium target for a medical condition. Your clinician sets the numbers; Vari counts them.

© 2026 Vari. Not a medical device. Vari does not diagnose, treat or prevent any condition.

Every figure on this page is worked out on your device, from what you log.

Version 2026-11

Salt and sodium

Vari stores sodium in whole milligrams and converts salt to sodium with a single factor. The same factor is used in the app and in every converter on this site.

Salt and sodium
What it isWhat Vari uses
Conversion1 g of salt contains 393 mg of sodium.
Sodium by mass of salt39.3%
Stored asinteger mg sodium
Salt to sodiumMath.round(g × sodium_mg_per_g_salt)
Sodium to saltmg / sodium_mg_per_g_salt
A sodium amount you typeshown exactly
A sodium amount worked out from salta mg value derived from salt g is shown to the nearest 10 mg
1.0 g salt393 mg sodium
6.0 g salt2,358 mg sodium → 2,360 mg sodium
2.5 g salt983 mg sodium → 980 mg sodium
10.0 g salt3,930 mg sodium
2,000 mg sodium2,000 mg sodium → 5.1 g salt
2,300 mg sodium2,300 mg sodium → 5.9 g salt
2,500 mL2,500 mL → 85 fl oz
64 fl oz1,893 mL → 1,893 mL / 1.9 L

Notes

  • Each shared vector below reads: what was logged, then what Vari stores, then what it shows.
  • 22.99 / 58.44 = 39.3% sodium by mass of NaCl
  • every sodium number is labelled sodium or salt; a bare g never appears
  • CCR-MOB-02: test vector row 1 states the exact factor in mg sodium, which the nearest-10 rule would round down. In force: the rule as written: row 1 is displayed as the exact constant, not as a derived value.

Sources for this section

Units and volumes

Fluid is stored in milliliters and converted only for display, so the unit you are reading in never changes what is kept.

Units and volumes
What it isWhat Vari uses
Fluid stored asinteger mL
One US fluid ounce29.5735295625 mL
One liter1,000 mL
A UK fluid ounce28.41 mL
mLdecimal places: 0
Ldecimal places: 1
fl ozdecimal places: 0
mg sodiumdecimal places: 0
g saltdecimal places: 1
USmg sodium · fl oz
Raw volumefluid_ml: the volume as logged. Counts on every path except general hydration.
Effective volumeeffective_fluid_ml: fluid_ml × the drink's hydration factor. Counts on the general hydration path only.
Hydration factors/science/hydration-index
Fluid steps100 mL · 1 fl oz
Sodium steps0.5 g salt (200 mg sodium) · 50 mg sodium
Days imported from the older appnot tracked

Notes

  • a UK fluid ounce is not offered; fl oz is US customary
  • one rule, not copy: sodiumUnit = profile.units.sodium ?? MARKET_DEFAULTS[market].sodiumUnit. In the app the fluid default is then narrowed by the device measurement system; only us keeps fl_oz.
  • tapping the number lets a value be typed
  • sodium is not evaluated on a legacy (1.x) day and is never shown as 0 mg

Sources for this section

When a day starts

A Vari day runs from midnight to midnight, local time. Every dated record stores the local day it belongs to.

When a day starts
What it isWhat Vari uses
A day starts at00:00
You can change itno
Earlier entries are re-assignedno

Notes

  • every dated record stores local_day; in Vari 2.0 the day starts at local midnight and the start cannot be changed
  • INV-21 · B-TG-02

Targets and met

A target has a direction and a value. Whether a day counts as met follows from the direction alone. Your clinician sets the value; Vari counts against it.

Targets and met
What it isWhat Vari uses
At leastthe day's total is ≥ value
At mostthe day's total is ≤ value
Nonenot evaluated
The version that appliesthe Target version where effective_from ≤ local_day and effective_to is absent or ≥ local_day
Which fluid total is usedthe day's fluid total uses the fluid_basis of the version in force that day: raw fluid_ml, or effective_fluid_ml on the general path
Which days are counteda day counts only if a target was in force and the day has at least one intake entry
Days with nothing loggedreported separately as no entries on N days
Fluid double-check range0.5 L to 6.0 L
Sodium double-check range500 mg sodium to 15,000 mg sodium
Outside that rangeshows a double-check message
Saving is blockedno

Notes

  • INV-27: a double-check message never stops an entry being saved.

The general-hydration goal

The current Vari app does not calculate a target: you enter your own. Goals carried over from the first version of Vari keep the general-hydration formula below, which uses body weight and an activity level and nothing else.

The general-hydration goal
What it isWhat Vari uses
Fluid per kilogram of body weight33 mL per kg
Sedentary×1.00
Moderate×1.15
Active×1.30
Athlete×1.50
Rounded to100 mL
FormulaMath.round(weight_kg × 33 × activity_factor / 100) × 100, in mL per day
Applies togeneral_hydration · fluid
Where the target comes fromapp_calculated
Condition modifiersno

Notes

  • no condition modifier of any kind is applied, and no code path computes a fluid or sodium number from a condition (INV-01).

Sources for this section

Pace

Planned for a later version: the current Vari app does not have this yet. Pace compares the running total so far against a straight line across the waking hours. It is a reading of the day, not an instruction.

Pace
What it isWhat Vari uses
Expected curvelinear
Windowwake time to bedtime minus 2 h
Behind meansbehind means the actual total is below the expected total by more than PACE_BEHIND_TOLERANCE × target
Tolerance10%
No pace forAt most
Nudges a day, at most3
Never within2 hours of bedtime
Sent in quiet hoursno

Notes

  • INV-12: the nudge limits hold whatever else is happening in the day.

Symptom scores

Planned for a later version: the current Vari app does not have this yet. Symptom sliders run from none to worst. A symptom that was not rated is absent, not a zero, so an unlogged symptom never drags an average down.

Symptom scores
What it isWhat Vari uses
Symptom scale0 (none) to 10 (worst)
An unrated symptoman unlogged symptom is stored as absent; an explicit 0 exists only when the slider is set to 0 or all others are marked as none
Counted as zerono
A day's symptom scorethe mean, across the day's check-ins, of each check-in's mean rated value; null ratings are excluded, and a day with no rated check-in has no burden
Overall scale1 (Good) to 5 (Very bad)
Direction1 = good … 5 = very bad
A day's overall scorethe mean of CheckIn.overall across the day's check-ins

Notes

  • INV-05 · U14

Insights

Insights describe what your own entries show across a recent window. They are descriptive only: Vari does not claim that one thing causes another. In the current app, Insights is built from your intake entries and, with your permission, Apple Health data, and has no check-ins; the qualifying-day rule and thresholds below are the planned rules for the version that adds check-ins.

Insights
What it isWhat Vari uses
Window30 complete days, ending yesterday
Today is includedno
A qualifying daya local day with at least one check-in and at least one intake entry
Days needed for an insight14
Days needed in each group4
Days needed for a trend14
Morningday boundary to 12:00
Afternoon12:00 to 17:00
Evening17:00 to the next day boundary
Days needed in a bucket4
Buckets shown, at least2

Notes

  • today is partial, so it is excluded

Flow Score (general hydration)

Flow Score is a single general-hydration reading, built from weighted components.

Flow Score (general hydration)
What it isWhat Vari uses
Hydration0.30
Caffeine0.25
Timing0.15
Activity0.10
Consistency0.10
Recovery0.10
Total1
Re-weighted when caffeine is absentyes
Applies togeneral_hydration

Notes

  • The weights add up to the total above; when caffeine is not logged, the remaining components are re-weighted so they still add up to it.

The clinic report

Planned for a later version: the current Vari app does not have this yet. The clinic report is built on the device from entries that were logged there. Nothing is sent anywhere to make it.

The clinic report
What it isWhat Vari uses
Pages1
Printed asPage 1 of 1
Made on the deviceyes
Trendthe second-half mean of the day values minus the first-half mean
Splitat the range midpoint
Threshold±0.3
Rising≥ +0.3
Falling≤ −0.3
Flatotherwise
Rated days needed in each half2
A cell with no data—
Legendhigher = more severe
By thenthe cumulative raw intake of that local day up to the episode's occurred_at
Episodes listed, at most6
Questions listed, at most6
Report compliance footerAll values were entered by the patient or read from Apple Health. Vari does not diagnose, treat or recommend targets. Conversion used: 1 g salt = 393 mg sodium. Method notes at getvari.app/methodology.
Report brandingMade with Vari · getvari.app

Preset values

Presets are starting values for the usual sources of sodium. Each row says where its figure comes from, and you can replace any of them with what your own package says.

Preset values
What it isWhat Vari uses
Salt tablet (1 g NaCl)1 g salt → 393 mg sodium · label
¼ tsp table salt581 mg sodium · typical
Broth / bouillon800 mg sodium · typical
LMNT (1 stick in water)1,000 mg sodium · typical
Labelread from the package label, or an exact conversion
Typicala seed figure, until the row is checked against a label
Userentered or edited by the user
A teaspoon of table salt2,325 mg sodium
Checked against a current label onto be confirmed before launch
An edit applies to later entries onlyyes

Notes

  • from label — check your package
  • Math.round(2325 / 4) = 581 mg sodium
  • U20: each row is checked against a current US label
  • This converts a number you already have. It does not suggest a target — that comes from your clinician.

Sources for this section

Say it

Planned for a later version: the current Vari app does not have this yet. Say it turns a spoken phrase into an entry on the device. The parser is deterministic, and nothing is written until you confirm it.

Say it
What it isWhat Vari uses
Runs on the device onlyyes
Parserdeterministic
Uses a modelno
Saved without confirmationno
Test phrases200
Field accuracyto be confirmed before launch
Measured onto be confirmed before launch

Sources

The citation behind every constant that is not plain arithmetic.

Sources
What it isWhat Vari uses
general_goal.ml_per_kg = 33Institute of Medicine, Dietary Reference Intakes for Water, Potassium, Sodium, Chloride and Sulfate (2004) (hydration-mobile/src/services/goals.ts)
salt_sodium.sodium_mg_per_g_saltmolar mass of sodium 22.99 g/mol and of NaCl 58.44 g/mol, giving 39.3% sodium by mass
presets.usda_tsp_table_salt_sodium_mg = 2325USDA FoodData Central, table salt (1 tsp = 2,325 mg sodium)
units.ml_per_us_fl_oz = 29.5735295625US customary fluid ounce, exact definition
units.effective_volume.hydration_factor_rangethe hydration-factor table published on the website (/science/hydration-index)

Change log

Every methodology version, with its date and what moved in it.

Change log
What it isWhat Vari uses
2026-11 · to be confirmed before launchFirst 2.0 methodology version: units and conversion, the day boundary, targets and the hit rule, pace, insights, the general-hydration goal, symptom scores, Flow Score, the clinic report, presets and Say it.