Vedic Science

The Value of pi upto 32 decimals from Rig Veda.


Men of older generation used to say that all knowledge is there in the Vedas. Anyone who hears such words will have the first reaction that it is an over confident statement. We should remember here that any sloka in the ancient Hindu manuscripts has more than one meaning.

A Sloka in the 10th book of Rig Veda appears to be written for praising Lord Indra.

The technical translation of that Sloka gives the value of Pi up to 28 digits accurately. It is not until the invention of the computers that the western mathematicians could get this value up to 16 digits accurately. Here is a test for those who think that a computer can do any calculation. Use the fastest computer available to you and write a program to calculate the value of Pi up to 28 digits accurately. You will know how difficult it is.

Vedic Numerical Code

In Sanskrit, the following Vedic Numerical code was used in many slokas

कादि नव
टादि नव
पादि पञ्चक
क्ष शुन्यम्

“Kaadi nava
Taadi nava
Paadi panchaka
Kshah sunyam”


Kaadi Nava Starting from ka, the sequence of 9 letters represent 1,2,..9
Similarly Taadi Nava , starting from ta
Paadi panchaka (1-5), starting from pa
Yadyashtaka (1-8) starting from ya
And ksha represents 0
In detail
ka(क)-1, kha(ख)-2, ga(ग)-3, gha(घ)-4,gna(ङ)-5, cha(च)-6, cha(छ)-7, ja(ज)-8,jha(झ)-9
ta(ट)-1, tha(ठ)-2, da(ड)-3, dha(ढ)-4,~na(ण)-5, Ta(त)-6, Tha(थ)-7, Da(द)-8,Dha(ध)-9
pa(प)-1, pha(फ)-2, ba(ब)-3, bha(भ)-4,ma(म)-5
ya(य)-1, ra(र)-2, la(ल)-3, va(व)-4, Sa(श)-5, sha(ष)-6, sa (स)-7, ha(ह)-8
kshah (क्ष)-0.
Based on this code there are many slokas in mathematics

e.g., Following is a sloka for Pi value:

गोपीभाग्य मधुव्रातः श्रुंगशोदधि संधिगः |
खलजीवितखाताव गलहाला रसंधरः ||

gopeebhaagya maDhuvraathaH shruMgashodhaDhi saMDhigaH
khalajeevithakhaathaava galahaalaa rasaMDharaH

ga-3, pa-1, bha-4, ya -1, ma-5, Dhu-9, ra-2, tha-6, shru-5, ga-3, sho-5, dha-8, Dhi -9, sa-7, Dha- 9, ga-3, kha-2, la-3, jee-8, vi-4, tha-6, kha-2, tha-6, va-4, ga-3, la-3, ha-8, la-3, ra-2, sa-7, Dha-9, ra-2


The above sloka has actually 3 meanings
1. In favor of Lord Shiva
2. In favor of Lord Krishna
3. The value of Pi up to 32 decimals.

There were many inventions in the field of science and technology in ancient India, we just have to sift through the sands of time to find them.


Click here to post a comment

Your email address will not be published. Required fields are marked *

  • Not just pi, there are many more fascinating things in our vedas and upanishads. Our Sutras, puranas, shastras and itihasas has so much in them. It is really hurting me when the youngsters of this generation take no interest in them and ape the west. As a matter of fact, there are only very few true brahamins left (going by the definition of a true brahamin)
    I’m really Happy that there are still those few people left to uphold and salvage the very little of what’s left.
    And I have to tell that the admins of this website are doing a fantastic job. to be honest, I’ve stopped reading newspapers or news channels and I’ve made this website as my primary source of news. Keep Going !

  • Actually it is very easy for a computer to write the first million digits of Pi… An eighth grader can do it for a weekend assignment.

  • This is amazing. I was always taught that our scriptures have many layers of meaning: Physical, Divine, Allegorical, Spiritual, Historical, Scientific, Mathematical, Astronomical, Astrological and many more. I was told by our Sanskrit teacher that, for example, in order to transmit vast knowledge in one shloka our super human (he did not use this word) ancestors (Rishis and Seers) formed the shloka in a way that a dozen chapters of various disciplines could be remembered by heart just in one shloka. I deeply appreciate Sanskriti for reviving our ancient heritage. It is needed.

  • Can’t we manually calculate the value of PI to more than even hundred decimals.If a computer programmer Seriously aims can’t he he make the computer to obtain the value of any fraction (not only PI) to any number of decimal. The moot Q is why we fail to make these realisations much before many had invented them?That too despite all the VEDAS are very much alive and those are being chanted every day at many places in India? So much knowledge being available (if it is really so)in our VEDAS and we chanting them daily and repeatedly and at various places simultaneously-and we fail to contribute even a small thing like a computer ,or at least a Computer language to the world-then -what is our worth?What is the use of our so called Boooks?If there is really worth and use and We are still not able to convince the world then we are very poor communicators.BUT as far as the Sloka which you have quoted the meaning and interpretation are genious.And the genious should be faster So we can lead the world atleast in future inventions.Rajendra Prasad

    • We already gave enough to this world and to the human beings. From Ayurveda to Yoga to Language (Script) and we don’t believe in taking credits for that. Its not a competition and we realized it too early and those who have the knowledge don’t want to get into this proving world, World knows it 🙂 Enjoy life…

  • Rarjendraprasad (continuation); Just a Sloka representing the value ofPI to 32 or even more decimels-can’t b called a very big Scientific invention.Because to find out the value of PI one has to go fr a DIVISION and it is one’s patience (NOT INTELLIGENCE)to what th decimal he carries it out.But if a student has to face this question ,say “Spell the value of PI upto 32nd decimal?” then the division may take a long time in the exam.It is everybody’s experience that the byhearting of tables/formulae will help us to solve problems in a short span.Similarly in our child hood we used to design answers in lyrical style to some tough questions and memorise them.This Sloka is One such attempt probably to save the time of Student /Employees/Users.But it may also be a fact that the trade and money calculations were taking place upto many decimals, Unlike the two decimals ,now.But any way,the maker of the Poem needs b appreciated.

  • What is the literal meaning of the sloka? You mentioned that it is in favor of Shiva & Krishna.What exactly does that mean?

    Fully agree that vedas are just religious scriptures..they are the goldmine of knowledge to help understand the world around us. No wonder why Germans are learning Sanskrit in a big way now.

  • This cannot be vedic because Krishna came after the vedas. Krishna is not mentioned in the vedas at all.

    This verse first appeared in the vedic mathematics book written by Tirthaji in 1965. So, it’s a 20th century verse.

    The ancient Indian calculation of pi was for 4 decimals by Madhavacharya.

    The other reason why this is not old is because in ancient Indian literature, numbers are written in the reverse order – unit place first, tenth next, then hundredth place etc. Arabians reverted it later since their script was from right to left and Europeans adopted the same number system without reverting it again.

Like us on Facebook

Follow us on Twitter


More in Vedic Science
Ancient Indian units system of length measurement
Ancient Indian units system of length measurement

An exact value of the unit of...

March horoscope
Astrology Predictions For March 2016

Aries ( 21 March – 19 April...

Ancient Indian Astronomical Instruments of Bhaskaracharya
Ancient Indian Astronomical Instruments of Bhaskaracharya

In India people had started the use...

The Twelve Yantras of Ancient Indian Astronomer Lalla

Lalla was an eighth-century Indian astronomer, astrologer,...