Comprehensive Log₁₀ Calculator Guide Using Prime Numbers (1000-Prime Table)


A Brief History of Logarithms

How logarithms transformed calculation — from Napier’s tables to modern applications.

Logarithms (base 10) — visual banner for the post

The idea of logarithms was introduced to simplify complex calculations by converting multiplication into addition and division into subtraction. The most influential originator was John Napier, a Scottish mathematician who published Mirifici Logarithmorum Canonis Descriptio in 1614. Napier’s work provided tables that dramatically reduced the time required for astronomical and navigational computations.

Soon after Napier, Henry Briggs collaborated to refine the system into common logarithms (base 10), which became the standard for scientists and engineers. Briggs published extensive logarithm tables and promoted the use of base-10 logs because they matched the decimal number system and made hand calculations straightforward.

For centuries, log tables and the slide rule were essential tools for astronomy, navigation, engineering, and applied mathematics. Before electronic calculators, students and professionals relied on these tables to compute powers, roots, and products quickly and accurately.

In the 20th century, the rise of electronic calculators and computers changed how we compute, but the mathematical importance of logarithms remained. Today, logarithms underpin many modern fields — from numerical methods and algorithm analysis to data science, signal processing, and cryptography. The same properties Napier exploited (the product and power rules) are foundational in contemporary algorithms and number theory.

Key takeaway: Napier’s insight into transforming multiplicative problems into additive ones created a computational revolution. Thanks to the work of Napier and Briggs, logarithm tables and the common log (log₁₀) became standard tools — and their legacy lives on in modern mathematics and computing.

How to find log₁₀ of any number using prime factorization

Use the product rule of logarithms and the fact every number is built from prime factors.

Key idea

The central property we use is the logarithm product rule:
log₁₀(x·y) = log₁₀(x) + log₁₀(y).

Every positive integer can be written uniquely as a product of primes:
prime factorization — for example \( 360 = 2^3 \cdot 3^2 \cdot 5 \). Using the product rule repeatedly gives
\(\displaystyle \log_{10}(360)=\log_{10}(2^3)+\log_{10}(3^2)\)
\(+\log_{10}(5)\).

Important: Use the power rule of logs to handle exponents:

log₁₀(a^k) = k · log₁₀(a)

Why this is useful

  1. find its prime factorization \(n = p_1^{a_1} p_2^{a_2}\cdots p_k^{a_k}\),
  2. use \(\log_{10}(n) = a_1·\log_{10}(p_1) \)
    \(+ a_2·\log_{10}(p_2) + \dots + a_k·\log_{10}(p_k)\).
This avoids long decimal log table lookups or calculators when you already have prime logs stored.

Two worked examples

Example 1 — \( \log_{10}(360) \)

Prime factorize: \(360 = 2^3 \cdot 3^2 \cdot 5\). Using the power rule and product rule:

\(\log_{10}(360) = 3\log_{10}(2) + 2\log_{10}(3) \)
\( + \log_{10}(5)\)

Substitute known values (rounded to 5 decimals):

  • \(\log_{10}(2) = 0.30103\)
  • \(\log_{10}(3) = 0.47712\)
  • \(\log_{10}(5) = 0.69897\)

Calculation:

\(3\times0.30103 = 0.90309\)
\(2\times0.47712 = 0.95424\)
\(1\times0.69897 = 0.69897\)

Sum: \(0.90309 + 0.95424 + 0.69897 \)
\(= 2.55630\).

So \(\log_{10}(360) \approx 2.55630\), and \(10^{2.55630}\approx360\).

Example 2 — \( \log_{10}(2023) \)

Factorize: \(2023 = 7 \cdot 17^2\) (since \(17^2=289\) and \(289\cdot7=2023\)). Apply the rules:

\(\log_{10}(2023) = \log_{10}(7) + 2\log_{10}(17)\)

Substitute known values (rounded to 5 decimals):

  • \(\log_{10}(7) = 0.84510\)
  • \(\log_{10}(17) = 1.23045\)

\( \log_{10}(2023) = 0.84510 + 2\times1.23045 = 0.84510 + 2.46090 = 3.30600 \).

So \(\log_{10}(2023) \approx 3.30600\), and \(10^{3.30600}\approx2023\).

Extra notes & tips

  • Zeros at the end: If a number has trailing zeros, each factor of 10 contributes exactly +1 to the base-10 logarithm. Example: \( \log_{10}(2500) = \log_{10}(25) + \log_{10}(100) = 2\log_{10}(5) + 2\).
  • Accuracy: Keep the prime logs to enough decimal places for your required precision. We used 5 decimal places above; use more if you need higher accuracy.
  • Efficiency: Store a small lookup table of \(\log_{10}\) for primes (first 1000 primes is excellent) — then any composite number’s log is a few table lookups plus some multiplications and additions.

Try it yourself: pick any integer, factor it into primes, and add the logs of those primes multiplied by their exponents.

— Learn4Math

S.No.Primelog₁₀(p)
120.30103
230.47712
350.69897
470.84510
5111.04139
6131.11394
7171.23045
8191.27875
9231.36173
10291.46240
11311.49136
12371.56820
13411.61278
14431.63347
15471.67210
16531.72428
17591.77085
18611.78533
19671.82607
20711.85126
21731.86332
22791.89763
23831.91908
24891.94939
25971.98677
261012.00432
271032.01284
281072.02938
291092.03743
301132.05308
311272.10380
321312.11727
331372.13672
341392.14301
351492.17319
361512.17898
371572.19590
381632.21219
391672.22272
401732.23805
411792.25285
421812.25768
431912.28103
441932.28556
451972.29447
461992.29885
472112.32428
482232.34830
492272.35603
502292.35984
512332.36736
522392.37840
532412.38202
542512.39967
552572.40993
562632.41996
572692.42975
582712.43297
592772.44248
602812.44871
612832.45179
622932.46687
633072.48714
643112.49276
653132.49554
663172.50106
673312.51983
683372.52763
693472.54033
703492.54283
713532.54777
723592.55509
733672.56467
743732.57171
753792.57864
763832.58320
773892.58995
783972.59879
794012.60314
804092.61172
814192.62221
824212.62428
834312.63448
844332.63649
854392.64246
864432.64640
874492.65225
884572.65992
894612.66370
904632.66558
914672.66932
924792.68034
934872.68753
944912.69108
954992.69810
965032.70157
975092.70672
985212.71684
995232.71850
1005412.73320
1015472.73799
1025572.74586
1035632.75051
1045692.75511
1055712.75664
1065772.76118
1075872.76864
1085932.77305
1095992.77743
1106012.77887
1116072.78319
1126132.78746
1136172.79029
1146192.79169
1156312.80003
1166412.80686
1176432.80821
1186472.81090
1196532.81491
1206592.81889
1216612.82020
1226732.82802
1236772.83059
1246832.83442
1256912.83948
1267012.84572
1277092.85065
1287192.85673
1297272.86153
1307332.86510
1317392.86864
1327432.87099
1337512.87564
1347572.87910
1357612.88138
1367692.88593
1377732.88818
1387872.89597
1397972.90146
1408092.90795
1418112.90902
1428212.91434
1438232.91540
1448272.91751
1458292.91855
1468392.92376
1478532.93095
1488572.93298
1498592.93399
1508632.93601
1518772.94300
1528812.94498
1538832.94596
1548872.94792
1559072.95761
1569112.95952
1579192.96332
1589292.96802
1599372.97174
1609412.97359
1619472.97635
1629532.97909
1639672.98543
1649712.98722
1659772.98989
1669832.99255
1679912.99607
1689972.99870
16910093.00389
17010133.00561
17110193.00817
17210213.00903
17310313.01326
17410333.01410
17510393.01662
17610493.02078
17710513.02160
17810613.02572
17910633.02653
18010693.02898
18110873.03623
18210913.03782
18310933.03862
18410973.04021
18511033.04258
18611093.04493
18711173.04805
18811233.05038
18911293.05269
19011513.06108
19111533.06183
19211633.06558
19311713.06856
19411813.07225
19511873.07445
19611933.07664
19712013.07954
19812133.08386
19912173.08529
20012233.08743
20112293.08955
20212313.09026
20312373.09237
20412493.09656
20512593.10003
20612773.10619
20712793.10687
20812833.10823
20912893.11025
21012913.11093
21112973.11294
21213013.11428
21313033.11494
21413073.11628
21513193.12024
21613213.12090
21713273.12287
21813613.13386
21913673.13577
22013733.13767
22113813.14019
22213993.14582
22314093.14891
22414233.15320
22514273.15442
22614293.15503
22714333.15625
22814393.15806
22914473.16047
23014513.16167
23114533.16227
23214593.16406
23314713.16761
23414813.17056
23514833.17114
23614873.17231
23714893.17289
23814933.17406
23914993.17580
24015113.17926
24115233.18270
24215313.18498
24315433.18837
24415493.19005
24515533.19117
24615593.19285
24715673.19507
24815713.19618
24915793.19838
25015833.19948
25115973.20330
25216013.20439
25316073.20602
25416093.20656
25516133.20763
25616193.20925
25716213.20978
25816273.21139
25916373.21405
26016573.21932
26116633.22089
26216673.22194
26316693.22246
26416933.22866
26516973.22968
26616993.23019
26717093.23274
26817213.23578
26917233.23629
27017333.23880
27117413.24080
27217473.24229
27317533.24378
27417593.24527
27517773.24969
27617833.25115
27717873.25212
27817893.25261
27918013.25551
28018113.25792
28118233.26079
28218313.26269
28318473.26647
28418613.26975
28518673.27114
28618713.27207
28718733.27254
28818773.27346
28918793.27393
29018893.27623
29119013.27898
29219073.28035
29319133.28171
29419313.28578
29519333.28623
29619493.28981
29719513.29026
29819733.29513
29919793.29645
30019873.29820
30119933.29951
30219973.30038
30319993.30081
30420033.30168
30520113.30341
30620173.30471
30720273.30685
30820293.30728
30920393.30942
31020533.31239
31120633.31450
31220693.31576
31320813.31827
31420833.31869
31520873.31952
31620893.31994
31720993.32201
31821113.32449
31921133.32490
32021293.32818
32121313.32858
32221373.32980
32321413.33062
32421433.33102
32521533.33304
32621613.33465
32721793.33826
32822033.34301
32922073.34380
33022133.34498
33122213.34655
33222373.34967
33322393.35005
33422433.35083
33522513.35238
33622673.35545
33722693.35583
33822733.35660
33922813.35813
34022873.35927
34122933.36040
34222973.36116
34323093.36342
34423113.36380
34523333.36791
34623393.36903
34723413.36940
34823473.37051
34923513.37125
35023573.37236
35123713.37493
35223773.37603
35323813.37676
35423833.37712
35523893.37822
35623933.37894
35723993.38003
35824113.38220
35924173.38328
36024233.38435
36124373.38686
36224413.38757
36324473.38863
36424593.39076
36524673.39217
36624733.39322
36724773.39393
36825033.39846
36925213.40157
37025313.40329
37125393.40466
37225433.40535
37325493.40637
37425513.40671
37525573.40773
37625793.41145
37725913.41347
37825933.41380
37926093.41647
38026173.41780
38126213.41847
38226333.42045
38326473.42275
38426573.42439
38526593.42472
38626633.42537
38726713.42667
38826773.42765
38926833.42862
39026873.42927
39126893.42959
39226933.43024
39326993.43120
39427073.43249
39527113.43313
39627133.43345
39727193.43441
39827293.43600
39927313.43632
40027413.43791
40127493.43917
40227533.43981
40327673.44201
40427773.44358
40527893.44545
40627913.44576
40727973.44669
40828013.44731
40928033.44762
41028193.45010
41128333.45225
41228373.45286
41328433.45378
41428513.45500
41528573.45591
41628613.45652
41728793.45924
41828873.46045
41928973.46195
42029033.46285
42129093.46374
42229173.46494
42329273.46642
42429393.46820
42529533.47026
42629573.47085
42729633.47173
42829693.47261
42929713.47290
43029993.47698
43130013.47727
43230113.47871
43330193.47986
43430233.48044
43530373.48244
43630413.48302
43730493.48416
43830613.48586
43930673.48671
44030793.48841
44130833.48897
44230893.48982
44331093.49262
44431193.49402
44531213.49429
44631373.49651
44731633.50010
44831673.50065
44931693.50092
45031813.50256
45131873.50338
45231913.50393
45332033.50556
45432093.50637
45532173.50745
45632213.50799
45732293.50907
45832513.51202
45932533.51228
46032573.51282
46132593.51308
46232713.51468
46332993.51838
46433013.51865
46533073.51943
46633133.52022
46733193.52101
46833233.52153
46933293.52231
47033313.52257
47133433.52414
47233473.52466
47333593.52621
47433613.52647
47533713.52776
47633733.52802
47733893.53007
47833913.53033
47934073.53237
48034133.53314
48134333.53567
48234493.53769
48334573.53870
48434613.53920
48534633.53945
48634673.53995
48734693.54020
48834913.54295
48934993.54394
49035113.54543
49135173.54617
49235273.54741
49335293.54765
49435333.54814
49535393.54888
49635413.54913
49735473.54986
49835573.55108
49935593.55133
50035713.55279
50135813.55400
50235833.55425
50335933.55546
50436073.55715
50536133.55787
50636173.55835
50736233.55907
50836313.56003
50936373.56074
51036433.56146
51136593.56336
51236713.56478
51336733.56502
51436773.56549
51536913.56714
51636973.56785
51737013.56832
51837093.56926
51937193.57043
52037273.57136
52137333.57206
52237393.57276
52337613.57530
52437673.57600
52537693.57623
52637793.57738
52737933.57898
52837973.57944
52938033.58013
53038213.58218
53138233.58240
53238333.58354
53338473.58512
53438513.58557
53538533.58580
53638633.58692
53738773.58850
53838813.58894
53938893.58984
54039073.59184
54139113.59229
54239173.59295
54339193.59318
54439233.59362
54539293.59428
54639313.59450
54739433.59583
54839473.59627
54939673.59846
55039893.60086
55140013.60217
55240033.60239
55340073.60282
55440133.60347
55540193.60412
55640213.60433
55740273.60498
55840493.60735
55940513.60756
56040573.60821
56140733.60991
56240793.61055
56340913.61183
56440933.61204
56540993.61268
56641113.61395
56741273.61563
56841293.61584
56941333.61627
57041393.61690
57141533.61836
57241573.61878
57341593.61899
57441773.62086
57542013.62335
57642113.62439
57742173.62500
57842193.62521
57942293.62624
58042313.62644
58142413.62747
58242433.62767
58342533.62870
58442593.62931
58542613.62951
58642713.63053
58742733.63073
58842833.63175
58942893.63236
59042973.63317
59143273.63619
59243373.63719
59343393.63739
59443493.63839
59543573.63919
59643633.63979
59743733.64078
59843913.64256
59943973.64316
60044093.64434
60144213.64552
60244233.64572
60344413.64748
60444473.64807
60544513.64846
60644573.64904
60744633.64963
60844813.65137
60944833.65157
61044933.65254
61145073.65389
61245133.65447
61345173.65485
61445193.65504
61545233.65543
61645473.65772
61745493.65792
61845613.65906
61945673.65963
62045833.66115
62145913.66191
62245973.66247
62346033.66304
62446213.66474
62546373.66624
62646393.66642
62746433.66680
62846493.66736
62946513.66755
63046573.66811
63146633.66867
63246733.66960
63346793.67015
63446913.67127
63547033.67237
63647213.67403
63747233.67422
63847293.67477
63947333.67514
64047513.67679
64147593.67752
64247833.67970
64347873.68006
64447893.68024
64547933.68061
64647993.68115
64748013.68133
64848133.68242
64948173.68278
65048313.68404
65148613.68673
65248713.68762
65348773.68815
65448893.68922
65549033.69046
65649093.69099
65749193.69188
65849313.69294
65949333.69311
66049373.69346
66149433.69399
66249513.69469
66349573.69522
66449673.69609
66549693.69627
66649733.69662
66749873.69784
66849933.69836
66949993.69888
67050033.69923
67150093.69975
67250113.69992
67350213.70079
67450233.70096
67550393.70234
67650513.70338
67750593.70406
67850773.70561
67950813.70595
68050873.70646
68150993.70749
68251013.70766
68351073.70817
68451133.70868
68551193.70919
68651473.71155
68751533.71206
68851673.71324
68951713.71357
69051793.71425
69151893.71508
69251973.71575
69352093.71675
69452273.71825
69552313.71858
69652333.71875
69752373.71908
69852613.72107
69952733.72206
70052793.72255
70152813.72272
70252973.72403
70353033.72452
70453093.72501
70553233.72616
70653333.72697
70753473.72811
70853513.72843
70953813.73086
71053873.73135
71153933.73183
71253993.73231
71354073.73296
71454133.73344
71554173.73376
71654193.73392
71754313.73488
71854373.73536
71954413.73568
72054433.73584
72154493.73632
72254713.73807
72354773.73854
72454793.73870
72554833.73902
72655013.74044
72755033.74060
72855073.74092
72955193.74186
73055213.74202
73155273.74249
73255313.74280
73355573.74484
73455633.74531
73555693.74578
73655733.74609
73755813.74671
73855913.74749
73956233.74997
74056393.75120
74156413.75136
74256473.75182
74356513.75213
74456533.75228
74556573.75259
74656593.75274
74756693.75351
74856833.75458
74956893.75504
75056933.75534
75157013.75595
75257113.75671
75357173.75717
75457373.75868
75557413.75899
75657433.75914
75757493.75959
75857793.76185
75957833.76215
76057913.76275
76158013.76350
76258073.76395
76358133.76440
76458213.76500
76558273.76545
76658393.76634
76758433.76664
76858493.76708
76958513.76723
77058573.76768
77158613.76797
77258673.76842
77358693.76856
77458793.76930
77558813.76945
77658973.77063
77759033.77107
77859233.77254
77959273.77283
78059393.77371
78159533.77474
78259813.77677
78359873.77721
78460073.77866
78560113.77895
78660293.78025
78760373.78082
78860433.78125
78960473.78154
79060533.78197
79160673.78297
79260733.78340
79360793.78383
79460893.78455
79560913.78469
79661013.78540
79761133.78625
79861213.78682
79961313.78753
80061333.78767
80161433.78838
80261513.78895
80361633.78979
80461733.79050
80561973.79218
80661993.79232
80762033.79260
80862113.79316
80962173.79358
81062213.79386
81162293.79442
81262473.79567
81362573.79637
81462633.79678
81562693.79720
81662713.79734
81762773.79775
81862873.79844
81962993.79927
82063013.79941
82163113.80010
82263173.80051
82363233.80092
82463293.80134
82563373.80188
82663433.80229
82763533.80298
82863593.80339
82963613.80353
83063673.80393
83163733.80434
83263793.80475
83363893.80543
83463973.80598
83564213.80760
83664273.80801
83764493.80949
83864513.80963
83964693.81084
84064733.81111
84164813.81164
84264913.81231
84365213.81431
84465293.81485
84565473.81604
84665513.81631
84765533.81644
84865633.81710
84965693.81750
85065713.81763
85165773.81803
85265813.81829
85365993.81948
85466073.82000
85566193.82079
85666373.82197
85766533.82302
85866593.82341
85966613.82354
86066733.82432
86166793.82471
86266893.82536
86366913.82549
86467013.82614
86567033.82627
86667093.82666
86767193.82730
86867333.82821
86967373.82847
87067613.83001
87167633.83014
87267793.83117
87367813.83129
87467913.83193
87567933.83206
87668033.83270
87768233.83398
87868273.83423
87968293.83436
88068333.83461
88168413.83512
88268573.83613
88368633.83651
88468693.83689
88568713.83702
88668833.83778
88768993.83879
88869073.83929
88969113.83954
89069173.83992
89169473.84180
89269493.84192
89369593.84255
89469613.84267
89569673.84305
89669713.84330
89769773.84367
89869833.84404
89969913.84454
90069973.84491
90170013.84516
90270133.84590
90370193.84628
90470273.84677
90570393.84751
90670433.84776
90770573.84862
90870693.84936
90970793.84997
91071033.85144
91171093.85181
91271213.85254
91371273.85291
91471293.85303
91571513.85437
91671593.85485
91771773.85594
91871873.85655
91971933.85691
92072073.85775
92172113.85800
92272133.85812
92372193.85848
92472293.85908
92572373.85956
92672433.85992
92772473.86016
92872533.86052
92972833.86231
93072973.86314
93173073.86374
93273093.86386
93373213.86457
93473313.86516
93573333.86528
93673493.86623
93773513.86635
93873693.86741
93973933.86882
94074113.86988
94174173.87023
94274333.87116
94374513.87221
94474573.87256
94574593.87268
94674773.87373
94774813.87396
94874873.87431
94974893.87442
95074993.87500
95175073.87547
95275173.87604
95375233.87639
95475293.87674
95575373.87720
95675413.87743
95775473.87777
95875493.87789
95975593.87846
96075613.87858
96175733.87927
96275773.87950
96375833.87984
96475893.88018
96575913.88030
96676033.88098
96776073.88121
96876213.88201
96976393.88304
97076433.88326
97176493.88360
97276693.88474
97376733.88497
97476813.88542
97576873.88576
97676913.88598
97776993.88643
97877033.88666
97977173.88745
98077233.88779
98177273.88801
98277413.88880
98377533.88947
98477573.88969
98577593.88981
98677893.89148
98777933.89170
98878173.89304
98978233.89337
99078293.89371
99178413.89437
99278533.89504
99378673.89581
99478733.89614
99578773.89636
99678793.89647
99778833.89669
99879013.89768
99979073.89801
100079193.89867

Post a Comment

0 Comments