{
  "category": "Compatibility",
  "display_name": "NORMDIST",
  "entry_kind": "built_in_function",
  "eval_api": {
    "method": "POST",
    "url": "https://handbook.dnacalc.com/api/eval"
  },
  "function_id": "FUNC.NORMDIST",
  "implementation_state": {
    "answer_bank": {
      "excel_builds": [
        "20430"
      ],
      "larger_numeric": 0,
      "last_bit": 383,
      "matched": 4127,
      "other_mismatch": 0,
      "refused": 0,
      "rows": 4510,
      "unread": 0,
      "worst_ulp": 5
    },
    "detail": "Everything else matches (4,510 in the answer bank and 6 workbook cells). Last-bit means a finite number within 16 ULP of Excel's.",
    "dnacalc_commit": "9e1884369a678158dd82d3d74188daf986995e87",
    "in_catalogue": true,
    "state": "close",
    "state_label": "Close: last-bit deviations remain",
    "summary": "Close: 383 of 4,516 recorded answers differ in the last bits, worst 5 ULP",
    "workbook_corpus": {
      "cells": 6,
      "matched": 6
    }
  },
  "implementations": [
    {
      "commit": "9e1884369a678158dd82d3d74188daf986995e87",
      "flavour": "excel-compatibility-candidate",
      "language": "Rust",
      "name": "CalcFunc",
      "own_code": [
        "https://github.com/DnaCalc/DnaCalc/blob/9e1884369a678158dd82d3d74188daf986995e87/crates/calc-func/src/catalogue/distributions.rs#L56-L59"
      ],
      "repository": "https://github.com/DnaCalc/DnaCalc",
      "shared_code": [
        "catalogue/distributions::nums",
        "ported/excel_numeric::binary_with",
        "ported/excel_numeric::excel_x87_add",
        "ported/excel_numeric::excel_x87_sub",
        "ported/excel_numeric::excel_x87_mul",
        "ported/excel_numeric::excel_x87_div",
        "ported/excel_numeric/x87::mul",
        "ported/excel_numeric/x87::add",
        "ported/excel_numeric/x87::sub",
        "ported/excel_numeric/x87::div",
        "ported/normal_dist_common::stored_horner",
        "ported/normal_dist_common::erf_approx",
        "ported/normal_dist_common::erfc_upper",
        "ported/normal_log_family::flush_subnormal",
        "ported/normal_log_family::identified_std_normal_cdf",
        "ported/normal_log_family::norm_cdf",
        "ported/normal_log_family::validate_positive_sigma",
        "ported/normal_log_family::norm_dist_kernel",
        "ported/special_dist_family::erfc_kernel",
        "ported/special_dist_family::erfc_precise_kernel"
      ],
      "source": "https://github.com/DnaCalc/DnaCalc/blob/9e1884369a678158dd82d3d74188daf986995e87/crates/calc-func/src/catalogue/distributions.rs#L56-L59",
      "state": "close",
      "suite": null,
      "summary": "Close: 383 of 4,516 recorded answers differ in the last bits, worst 5 ULP"
    }
  ],
  "json_url": "https://handbook.dnacalc.com/api/functions/FUNC.NORMDIST.json",
  "name": "NORMDIST",
  "notes": [],
  "schema": "efh.function-reference/v1",
  "section_order": [
    "what-it-does",
    "try-it",
    "quirks",
    "how-to-implement",
    "version-differences",
    "alternatives"
  ],
  "sections": {
    "alternatives": "\n[NORM.DIST](FUNC.NORM.DIST.md) is the modern spelling. [NORM.INV](FUNC.NORM.INV.md) and [NORM.S.INV](FUNC.NORM.S.INV.md) map probabilities back to values.\n\n\n",
    "how-to-implement": "\nFor a general CDF first standardize using binary64 `u=(x-mean)/sigma`, then apply the standard wrapper. For the standard-normal CDF, the current measured wrapper stores `z=R(abs(x)*c)`, with binary64 `c` given by bits `0x3fe6a09e667f3bcd`. Evaluate the public ERFC body at z, halve it, and select that half for a negative argument or `1-half` for a nonnegative argument. Flush the final subnormal under the current publication rule. The ERFC upper factor remains open; identifying this wrapper does not solve that inner approximation.\n\nFor density, the current kernel instead stores `u=R(R(x-mean)/sigma)`, `sq=R(u*u)`, then evaluates `E=EXP(-sq/2)`, divides E by sigma at a stored site and finally multiplies by binary64 `0x3fd9884533d43651`. Calling a previously flushed PHI and dividing later changes the route. `R` means 64-bit-significand rounding followed by a binary64 store.\n\n\n",
    "quirks": "\nNonnumeric numeric arguments give `#VALUE!`. A nonpositive standard deviation gives `#NUM!`. A density is not a point probability and can exceed one when the scale is small. The compatibility name does not imply that its numerical stages are identical in every Excel build.\n\n\n",
    "sources": "\n- [Microsoft: NORMDIST function](https://support.microsoft.com/en-us/excel/functions/normdist-function), opened 6 November 2026; syntax, documented argument rules and errors.\n- [DnaCalc implementation](https://github.com/DnaCalc/DnaCalc/blob/da3ecc4fb19a3a5529708c311d0e8f05688ac165/crates/calc-func/src/ported/normal_log_family.rs); implementation steps and the limits identified in the text.\n\n",
    "try-it": "\n`=NORMDIST(10,10,2,TRUE)` returns `0.5`. At the mean, half the distribution lies below the input. With FALSE the density is about `0.1994711402`.\n\n\n",
    "version-differences": "The recorded environments below distinguish a reading from a same-input comparison. Counts describe captured inputs in each environment; overlapping captures and comparisons are not totals of unique worksheet calls.\n\n| Excel 16.0 build | Platform and CPU | Captured inputs |\n|---|---|---:|\n| 20430 | Windows, 64-bit, AMD Ryzen 7 4800H with Radeon Graphics | 3,005 |\n\nThe record contains no same-input comparison between these environments. Reading different inputs on different builds does not establish either a version change or cross-build agreement.\n\n[Recorded environments and comparison details](https://github.com/DnaCalc/ExcelFunctionsHandbook/blob/5dc75391aa5125ccc5abdb095da85950980d6fd8/content/evidence/environments/FUNC.NORMDIST.json).",
    "what-it-does": "\n`NORMDIST(x,mean,standard_dev,cumulative)` is the compatibility normal distribution. TRUE returns the probability up to x; FALSE returns a density. Standard deviation must be positive.\n\n\n"
  },
  "signature": {
    "display": "NORMDIST(x, mean, standard_dev, cumulative)",
    "parameters": [
      {
        "description": null,
        "name": "x",
        "optional": false,
        "repeats": false
      },
      {
        "description": null,
        "name": "mean",
        "optional": false,
        "repeats": false
      },
      {
        "description": null,
        "name": "standard_dev",
        "optional": false,
        "repeats": false
      },
      {
        "description": null,
        "name": "cumulative",
        "optional": false,
        "repeats": false
      }
    ],
    "trailing_repeats": false
  },
  "sources": {
    "metadata": {
      "admission": {
        "label": "implemented",
        "reason": null
      },
      "arity": {
        "max": 4,
        "min": 4
      },
      "category": "Compatibility",
      "classification": {
        "arg_preparation_profile": "ValuesOnlyPreAdapter",
        "coercion_lift_profile": "Custom",
        "determinism_class": "Deterministic",
        "error_collapse_profile": "None",
        "fec_dependency_profile": "None",
        "host_interaction_class": "None",
        "kernel_signature_class": "Custom",
        "rich_value_usage": "RichBlind",
        "surface_fec_dependency_profile": "RefOnly",
        "thread_safety_class": "SafePure",
        "volatility_class": "NonVolatile"
      },
      "descriptions": {
        "long": null,
        "short": "Normal distribution (older form of NORM.DIST)",
        "short_source": "dna-calc-own"
      },
      "docs": {
        "english_description": "Returns the normal cumulative distribution",
        "microsoft_url": "https://support.microsoft.com/en-us/office/normdist-function-126db625-c53e-4591-9a22-c9ff422d6d58"
      },
      "entry_kind": "built_in_function",
      "localized_family_names": null,
      "localized_names": [
        {
          "locale": "ar-SA",
          "name": "NORMDIST"
        },
        {
          "locale": "bg-BG",
          "name": "NORMDIST"
        },
        {
          "locale": "cs-CZ",
          "name": "NORMDIST"
        },
        {
          "locale": "da-DK",
          "name": "NORMFORDELING"
        },
        {
          "locale": "de-DE",
          "name": "NORMDIST"
        },
        {
          "locale": "el-GR",
          "name": "NORMDIST"
        },
        {
          "locale": "en-AU",
          "name": "NORMDIST"
        },
        {
          "locale": "en-GB",
          "name": "NORMDIST"
        },
        {
          "locale": "en-US",
          "name": "NORMDIST"
        },
        {
          "locale": "es-ES",
          "name": "DISTR.NORM"
        },
        {
          "locale": "et-EE",
          "name": "NORMDIST"
        },
        {
          "locale": "fi-FI",
          "name": "NORM.JAKAUMA"
        },
        {
          "locale": "fr-FR",
          "name": "LOI.NORMALE*"
        },
        {
          "locale": "he-IL",
          "name": "NORMDIST"
        },
        {
          "locale": "hr-HR",
          "name": "NORMDIST"
        },
        {
          "locale": "hu-HU",
          "name": "NORM.ELOSZL"
        },
        {
          "locale": "id-ID",
          "name": "NORMDIST"
        },
        {
          "locale": "it-IT",
          "name": "NORMDIST"
        },
        {
          "locale": "ja-JP",
          "name": "NORMDIST"
        },
        {
          "locale": "ko-KR",
          "name": "NORMDIST"
        },
        {
          "locale": "lt-LT",
          "name": "NORMDIST"
        },
        {
          "locale": "lv-LV",
          "name": "NORMDIST"
        },
        {
          "locale": "nb-NO",
          "name": "NORMDIST"
        },
        {
          "locale": "nl-NL",
          "name": "NORM.VERD"
        },
        {
          "locale": "pl-PL",
          "name": "ROZKŁAD.NORMALNY"
        },
        {
          "locale": "pt-BR",
          "name": "NORMDIST"
        },
        {
          "locale": "pt-PT",
          "name": "DIST.NORM"
        },
        {
          "locale": "ro-RO",
          "name": "NORMDIST"
        },
        {
          "locale": "ru-RU",
          "name": "НОРМРАСП"
        },
        {
          "locale": "sk-SK",
          "name": "NORMDIST"
        },
        {
          "locale": "sl-SI",
          "name": "NORMDIST"
        },
        {
          "locale": "sr-Latn-RS",
          "name": "NORMDIST"
        },
        {
          "locale": "sv-SE",
          "name": "NORMFÖRD"
        },
        {
          "locale": "th-TH",
          "name": "NORMDIST"
        },
        {
          "locale": "tr-TR",
          "name": "NORMDAĞ işlevi"
        },
        {
          "locale": "uk-UA",
          "name": "NORMDIST"
        },
        {
          "locale": "vi-VN",
          "name": "NORMDIST"
        },
        {
          "locale": "zh-CN",
          "name": "NORMDIST"
        },
        {
          "locale": "zh-HK",
          "name": "NORMDIST"
        },
        {
          "locale": "zh-TW",
          "name": "NORMDIST"
        }
      ],
      "signature": {
        "display": "NORMDIST(x, mean, standard_dev, cumulative)",
        "parameters": [
          {
            "description": null,
            "name": "x",
            "optional": false,
            "repeats": false
          },
          {
            "description": null,
            "name": "mean",
            "optional": false,
            "repeats": false
          },
          {
            "description": null,
            "name": "standard_dev",
            "optional": false,
            "repeats": false
          },
          {
            "description": null,
            "name": "cumulative",
            "optional": false,
            "repeats": false
          }
        ],
        "trailing_repeats": false
      },
      "surface_name": "NORMDIST",
      "version_marker": null,
      "xlcall": {
        "code": "293",
        "symbol": "xlfNormdist"
      }
    },
    "microsoft": "https://support.microsoft.com/en-us/office/normdist-function-126db625-c53e-4591-9a22-c9ff422d6d58"
  },
  "try_it": {
    "formula": "=NORMDIST(10,10,2,TRUE)"
  },
  "url": "https://handbook.dnacalc.com/functions/NORMDIST.html",
  "variants": [],
  "versions": [
    {
      "behaviour": "3,005 captured inputs are indexed for this environment. Capture dates: 2026-09-24 to 2026-09-25. This is a reading count, not a comparison with another build.",
      "excel_build": "16.0 build 20430",
      "platform": "Windows, 64-bit, AMD Ryzen 7 4800H with Radeon Graphics",
      "sources": [
        "https://github.com/DnaCalc/ExcelFunctionsHandbook/blob/5dc75391aa5125ccc5abdb095da85950980d6fd8/content/evidence/environments/FUNC.NORMDIST.json"
      ]
    }
  ]
}