/organisasjonsnummer

Norwegian Organization Number Generator & Validator (Orgnr)

Validate and generate valid 9-digit Norwegian organization numbers (orgnr) with MOD11 locally.

Generate a valid test organization number (MOD11).
-

How it works

Norwegian organization numbers are 9 digits, the last being a MOD11 check digit. The numbers here are algorithmically valid but need not exist in the official registry, they are meant as test data.

About this tool

A Norwegian organisation number (organisasjonsnummer) is a 9-digit identifier assigned by the Brønnøysund Register Centre to every legal entity in Norway, companies, sole proprietorships, associations, foundations and public agencies. The first 8 digits are the number itself; the 9th is a check digit computed with the MOD11 algorithm using weights 3, 2, 7, 6, 5, 4, 3, 2. This tool validates whether a number is correct, computes the check digit, and formats the number neatly (`NNN NNN NNN`). Everything runs locally, no numbers or names are sent anywhere.

How to use it

  1. Paste the organisation number (with or without spaces) into the input field.
  2. The tool immediately tells you whether the number has a valid check digit.
  3. To compute the check digit: enter the first 8 digits and the 9th will be shown.
  4. The number can be formatted as `NNN NNN NNN` or shown raw without spaces.
  5. To look up the actual company info (name, address, industry), use the Brønnøysund open-data API.

Examples

Valid org number
Input974760673
Output974 760 673 ✓
The Norwegian Digitalisation Agency’s (DigDir) org number. The trailing "3" is computed with MOD11 weights 3, 2, 7, 6, 5, 4, 3, 2.
Invalid example
Input123456789
Output✗ Wrong check digit
Plain sequences never come out as valid org numbers. The correct check digit for the base `12345678` is not `9`.
Compute from 8 digits
Input97476067
Output974760673
Weighted sum 9·3 + 7·2 + 4·7 + 7·6 + 6·5 + 0·4 + 6·3 + 7·2 = 173. 173 mod 11 = 8, check digit = 11 − 8 = 3.

Common use cases

  • Validating customer data in CRM, invoicing or accounting systems.
  • Form validation on web forms where businesses register (vendor portals, RFQ forms).
  • Cleaning imported customer registers that may contain typos.
  • Verifying a supplied org number is actually valid before looking it up in Brønnøysund.
  • Auto-formatting org numbers in prints and reports (`NNN NNN NNN`).
  • Catching typos on invoices before they’re sent to the customer.

Frequently asked questions

Does a valid check digit mean the number is actually assigned?
No. The check digit only tells you the number is mathematically valid, not that it belongs to a registered company. To check whether it’s actually assigned, look it up in Brønnøysund’s open API (`data.brreg.no`), free of charge, no signup needed.
Can the check digit become 10?
Yes, in theory. With MOD11 the remainder can be 1, giving "10" as the check digit, but that doesn’t fit in a single digit. Brønnøysund solves this by skipping such base numbers and never assigning them. So you’ll never encounter a valid org number whose last digit "should" have been 10.
Is the org number the same as the VAT number?
Almost. The Norwegian VAT number is the organisation number plus the suffix "MVA" (e.g. `974760673MVA`). Only businesses registered in the VAT register may use the suffix. VAT-registered businesses must always display `NNN NNN NNN MVA` on invoices.
Who assigns organisation numbers?
The Brønnøysund Register Centre, a government agency located in Brønnøysund, Nordland county. They run the Central Coordinating Register of Legal Entities where every legal entity is listed. The number stays with the entity for its entire lifetime and is not reused after the company is dissolved.

Technical background

The organisation number is formalised in the Central Coordinating Register of Legal Entities Act. The check digit is computed with MOD11 and weights 3, 2, 7, 6, 5, 4, 3, 2 (from the left): sum = Σ(digitᵢ × weightᵢ), remainder = sum mod 11, check digit = 11 − remainder. Remainder = 0 → check digit 0; remainder = 1 → "10", which is disallowed and the base number is skipped. The number series starts at 800,000,000 for limited companies and 900,000,000 for entities created after 1995. Brønnøysund’s open API returns company data in JSON and updates in real time.