• Real Pi Benchmark 1
  • Real Pi Benchmark 2
  • Real Pi Benchmark 3
  • Real Pi Benchmark 4

Real Pi Benchmark

RealPi provides some of the best and most interesting Pi calculation algorithms out there. This app is a benchmark which tests your Android device's CPU and memory performance. It calculates the value of Pi to the number of decimal places you specify. You can view and search for patterns in the resulting digits to find your birthday in Pi or find famous digit sequences like the "Feynman Point" (six 9's in a row at the 762nd digit position). There are no hard limits on the number of digits, if you experience a freeze please see "Warnings" below.
Leave comments with your Pi calculation time on the AGM+FFT formula for 1 million digits. Also the most digits you can calculate, which tests your phone's memory. The author's Huawei Ascend P1 takes 25 sec for 1 million and can do at most 33 million digits. Note that the AGM+FFT algorithm works in powers of 2, so calculating 10 million digits takes just as much time and memory as 16 million digits (the internal precision is shown in the output). On multi-core processors RealPi tests the performance of a single core. For accurate benchmark timing ensure that no other applications are running and your phone is not hot enough to throttle the CPU.

Search function:Use this to find patterns in Pi like your birthday. For best results calculate at least one million digits using the AGM + FFT formula, then select the "Search for Patterns" menu option.

Here's a summary of the available algorithms: -AGM + FFT formula (Arithmetic Geometric Mean): This is one of the fastest available methods to calculate Pi, and is the default formula used by RealPi when you press "Start". It runs as native C++ code and is based on Takuya Ooura's pi_fftc6 program. For many millions of digits it can require a lot of memory, which often becomes the limiting factor in how many digits you can calculate.

-Machin's formula: This formula was discovered by John Machin in 1706. It's not nearly as fast as AGM + FFT, but shows you all the digits of Pi accumulating in real time as the calculation proceeds. Choose this formula in the settings menu and then press "Start". It's written in Java using the BigDecimal class. You should probably not ask it to compute much more than 10000 digits.

-Nth digit of Pi formula by Gourdon: This formula shows that it's possible (surprisingly) to calculate decimal digits of Pi "in the middle" without calculating the preceding digits, and needs very little memory. When you press the "Nth Digit" button RealPi determines 9 digits of Pi ending with the digit position you specify. It runs as native C++ code and is based on Xavier Gourdon's pidec program. Although it's faster than Machin's formula it can't beat the AGM + FFT formula in speed.

-Nth digit of Pi formula by Bellard: Gourdon's algorithm for the Nth digit of Pi can't be used for the first 50 digits, so this formula by Fabrice Bellard is used instead if digits < 50.

Permissions:If you enable the "Calculate when in sleep" option RealPi will keep calculating while your screen is off, useful when calculating many digits of Pi. While not calculating or after the calculation finishes your device will go into deep sleep as usual.

Warnings:This app can drain your battery quickly when doing a long calculation, especially if the "Calculate when in sleep" option is on.

Calculation speed depends on your device's CPU speed and memory. At very large numbers of digits RealPi may terminate unexpectedly or not produce an answer. It could also take a very long time to run (years). This is due to the large amount of memory and/or CPU time needed. The upper limit on the number of digits you can calculate depends on your Android device.

Changes to the "Calculate when in sleep" option take effect for the next Pi calculation, not in the middle of a calculation.

Category : Tools

Related searches

Reviews (29)

Jef. S. May 19, 2022     

OnePlus 10 Pro 5G Fastest time is 1.21 seconds. An app just to brag about how beefy your phone is. Simple and easy.

Fre. S. Jan 14, 2020     

I like it. Would be cool to have a website that shows data for all smartphones to compare. My phone: Samsung Galaxy 8 Active - 1 million was 2.97 seconds. I will use the app to check how my cpu is doing over time and health.

gYr. Mar 19, 2020     

Oh wow. 1.9 sec to the dot on a Razer Phone 2 for Pi to one million digits. Phenomenal! This app is super cool and the fact it has a little Bing bing bing bong bong noise is fun. (beware! It might scare your cat if you have your media volume turned up and you're not expecting it 🀣) PS. 56.42 seconds for 10million digits? Insane. Nice app and this gave me a new perspective on my phone's real raw power.

Jam. L. Mar 5, 2020     

0.74 seconds on a Samsung Tab S6 and 1.69 on a galaxy S10+ with the stock test. Also ran the nth digit test on both with the recommended 400,000. Tab S6 got 67.45 secs and the s10+ got 67.28 secs. Interesting and light benchmark, and very quick too.

Tim. S. Mar 1, 2020     

I like this app also. I do agree with Frent Spilner there needs to be a database for comparison. My devices. Samsung Galaxy 9+ 1 million was 1.98 sec. ASUS 3a 10. 5.62 sec. Google Pixel Slate 12.3 M3. 2.10 sec.

Mic. A. Apr 16, 2021     

My Asus Max Pro M1 (Snapdragon 636, 3gb RAM) took 4.38 sec for the 1M pi digits. Also tested my other phones: Infinix Note 5 Stylus (Mediatek 6763V, 4gb RAM) took 13.67 sec. Infinix Hot S3 (Snapdragon 430, 3gb RAM) took 12.28 sec. Samsung Note 4 took 8.9sec Updates: 2020/06 Redmi Note 8 Pro (6gb): 2.53sec. 2021/04 Redmi Note 10 (4/64): 2.51sec

Jor. W. Aug 25, 2019     

Samsung Galaxy S7 Active. Only 3.03 seconds for 1,000,000 digits of Pie. 3 year old phone is still running strong. Even has a bigger battery than the regular S7.

Cat. D. Jan 21, 2020     

1M digits in 3.75s Galaxy A50. This is a funny test, not an exact in-depth test (doesn't cover all CPU funcfionality), but still pretty fun lightweight app!

Hin. M. j. May 1, 2020     

Why the worst app uploaded on the play store !!!!!😑 When i started to test with normal values it work well but app crashes at the end But this is not a problem There is a lot of bug in your app there is a fatel problem in your app that your app freeze phone till shutdown in non battery removable phone i am too angry on this there is no caution for such problems so i suggest you do not download that app Worst app ever😑😑😑😑😑😑😑

Gle. E. Apr 1, 2021     

Galaxy S21 Ultra. 1M digits in 1.04 seconds. Very neat benchmark tool. Calculates faster than SuperPi for Android.

Har. Mar 3, 2020     

Samsung a5 2015. One million took a whopping 17 seconds lol. 10 million took 445.02 seconds. My new OnePlus 7t took 1.61 seconds in one million and 45 seconds in 10 million.

Cly. G. Dec 18, 2019     

Really interesting app! My Galaxy s10e snapped through 1 million digits in 1.66 seconds.

Yuu. G. Sep 14, 2019     

4.41 sec on 1 million digits using Xiaomi Redmi Note 5 AI (SD 636) not bad on a mid range phone when i was launched.

Der. M. Jun 10, 2020     

1.67 seconds for my Galaxy S10+ Pretty cool app to do a very quick benchmark of your phone.

Joj. C. Dec 18, 2019     

Lg g7 thinQ.... 1 million digits at 1.94s. This phone is more than a year old. Thanks!

chu. k. k. Oct 21, 2018     

Asus zenfone 3, Snapdragon 625, 1 million digits in 16 seconds. Huawei Nova 3i, Hisilicon 710, 1 million digits in 5.04 seconds.

Ale. J. Oct 4, 2019     

Pixel 3. 1.94 seconds per 1,000,000 digits. Overclocked running Android 10.

Cal. B. Sep 13, 2020     

Nice for showing your phone power! Moto g power 1M: 3.9 seconds 10M: 97.22 seconds

Sta. a. May 31, 2019     

Samsung Galaxy j4 plus....took 16.39 secs. was previously 18.64secs before update. Never buy this phone lol

Cez. R. T. Mar 29, 2020     

2.68secs on a OP5T..not bad for gauging performance..

Him. N. Jan 5, 2020     

1048576 precision 1.78 sec POCO F1 Great app to test cpu performance.

hm. Dec 19, 2019     

OnePlus 6 - Snapdragon 845 OxygenOS 10.0.1 - latest Android 10 1.87 seconds for a million digits Rooted on Magisk v19.4

Vex. D. Feb 9, 2020     

My Huawei p10 lite did it in 3.54 seconds. Amazing

Mri. A. Jun 21, 2019     

realme 3 pro sd710 1000000 digits in 2.63sec and love the sound also.

Nab. Q. Dec 3, 2020     

0 to 1,000,000 in 2.39 seconds! what does it mean? Poco X3 NFC snapdragon 732G 6Gb Ram

LeV. Feb 7, 2020     

Nice app. Got 2sec on 1M calculation and 160sec on 20M. (poco f1, casual)

Cyn. E. Jan 21, 2020     

Nice, I calculated 1 million numbers is 1.65, 10 million 45.85 seconds (Samsung Galaxy S10+)

Jan. D. Mar 25, 2020     

This app can work out trillions of digits of pi if you have the storage.

Gab. G. B. Jun 29, 2020     

Straightforward and simple