Indian number format converter: lakh and crore

Indian grouping puts the last three digits together and then pairs, so 123456789 becomes 12,34,56,789, or twelve crore thirty-four lakh and onward. Type a number to get every format and code for it in JavaScript, Dart, Kotlin, Java and Python.

Updated

Commas, spaces and a ₹ sign are ignored. Up to 15 digits before the decimal point.

Indian grouping

12,34,56,789.5

twelve crore thirty-four lakh fifty-six thousand seven hundred eighty-nine point five

JavaScript code

const n = 123456789.5;
// en-IN groups as 12,34,56,789
new Intl.NumberFormat("en-IN").format(n);
new Intl.NumberFormat("en-IN", { style: "currency", currency: "INR" }).format(n); // ₹ with 2 decimals
new Intl.NumberFormat("en-IN", { notation: "compact" }).format(n);                // 12Cr, 1.2L
Indian grouping
12,34,56,789.5last three digits, then pairs
International grouping
123,456,789.5
In rupees (₹, 2 decimals)
₹12,34,56,789.50
Words, lakh and crore
twelve crore thirty-four lakh fifty-six thousand seven hundred eighty-nine point five
Words, million and billion
one hundred twenty-three million four hundred fifty-six thousand seven hundred eighty-nine point five
Rupees in words (cheque style)
Rupees Twelve crore thirty-four lakh fifty-six thousand seven hundred eighty-nine and Fifty Paise Only
Short form
12.35 CrCr = crore, L = lakh, K = thousand
In lakh
1,234.5679 lakh
In crore
12.3457 crore
In million
123.4568 million
In billion
0.1235 billion
  • Everything is worked out on the digits you typed, so a long figure is not rounded by floating point.
  • Words follow the Indian system (thousand, lakh, crore; above that, lakh crore) and the short-scale international system (million, billion, trillion).
  • Check the grouping on your own runtime: Java and Kotlin on the JVM do not produce lakh grouping from Locale en-IN, which is why their code groups by hand.

How does Indian number grouping work?

The Indian system groups the last three digits, then every two: 12,34,56,789. The names follow: a thousand is 1,000, a lakh is 1,00,000 (a hundred thousand) and a crore is 1,00,00,000 (ten million). Above that, people say ten crore, a hundred crore and a lakh crore (a trillion).

The international system groups every three digits and names the groups thousand, million, billion and trillion. The same number reads 123,456,789 and is 'one hundred twenty-three million, four hundred fifty-six thousand, seven hundred eighty-nine'.

This tool works on the digits you type, so it never rounds a long figure the way a floating-point number would. The ₹ form rounds a longer fraction half-up to the paisa and the cheque-style line spells rupees and paise.

In code, JavaScript, Dart and Python (with Babel) take the locale en-IN or en_IN and produce lakh grouping. The JVM's NumberFormat uses one grouping size, so Java and Kotlin need a small function; the snippet for each language is below the result.

Indian:  …,xx,xx,xxx   (3 digits, then pairs)
Western: …,xxx,xxx,xxx  (triples)
1 lakh = 100,000   1 crore = 10,000,000 = 100 lakh   1 lakh crore = 10^12

What are the Indian and international names for the same number?

Same value, two naming systems
NumberIndian groupingIndian nameInternational name
1,0001,000one thousandone thousand
100,0001,00,000one lakhone hundred thousand
1,000,00010,00,000ten lakhone million
10,000,0001,00,00,000one croreten million
100,000,00010,00,00,000ten croreone hundred million
1,000,000,0001,00,00,00,000one hundred croreone billion
1,000,000,000,00010,00,00,00,00,000one lakh croreone trillion

How to convert a number to Indian format

  1. 1
    Type the numberPaste or type it with or without commas or a ₹ sign. Up to 15 digits before the decimal point.
  2. 2
    Read the formatsThe result shows Indian and international grouping, ₹ formatting, the words in lakh and crore and in million and billion, and the amount in lakh, crore, million and billion.
  3. 3
    Pick a languageChoose JavaScript, Dart, Kotlin, Java or Python for code that produces the same grouping with your number filled in.
  4. 4
    Copy what you needUse the copy buttons on any line, including the cheque-style 'Rupees … Only' text.

Frequently asked questions

How do I format a number as 12,34,56,789 in JavaScript?
Use new Intl.NumberFormat('en-IN').format(n). MDN shows en-IN giving 1,23,456.789 for 123456.789, and passing { style: 'currency', currency: 'INR' } adds the ₹ sign and two decimals.
How do I get lakh and crore grouping in Flutter?
Use NumberFormat.decimalPattern('en_IN') or NumberFormat.currency(locale: 'en_IN', symbol: '₹') from the intl package. Its en_IN data uses the pattern #,##,##0.### for numbers and ¤#,##,##0.00 for currency.
Why does Java print 123,456,789 for Locale en-IN?
java.text.DecimalFormat keeps only the interval after the last grouping separator, as Oracle's docs say, so it cannot hold the 3-then-2 pattern. Kotlin on the JVM inherits that, so write the grouping by hand as in the snippets.
How many lakh is a crore, and a million?
One crore is 100 lakh or ten million, and one lakh is a hundred thousand. So one million is ten lakh, and one billion is a hundred crore.
Is there an Indian name above crore?
Everyday Indian usage goes on in crores: a hundred crore, a thousand crore, then a lakh crore for a trillion. This tool uses that form, so a figure like 10,00,00,00,00,000 reads 'one lakh crore'.

Sources

Related tools

See all 135 free tools

Need a custom dev tool for your team?

We build internal tools, dashboards, APIs, and SaaS platforms. If you can describe it, we can ship it.

Built by CountryDevs · No signup · No ads · We count visits, never what you enter