I know 75(base8) = 61(base10), but I can"t easily uncover the formula because that this. How does one convert from base 8 to basic 10?



To convert any base to base 10 simply do the following:

For every number in the various base multiply that by the base and also digit. Because that example:

75 (base 8) = 7*8^1 + 5*8^0 = 61 works for any kind of base ... Binary, hex, you surname it just do that and it will convert to base 10.

You are watching: How to convert from base 8 to base 10




The formula is 18 = 110 and also 108 = 810. Everything else can be derived from that.

If you have a sequence of basic 8 digits you desire to convert to a base 10 number, process them native left to right, keeping a total you initialize at zero. For each number x, set the full to 8*total+x. After handling the last digit, the full will it is in the basic ten value of the base 8 sequence.

75 in basic 8 = 5*8^0 + 7*8^1 = 5 + 56 = 61

In general, to convert the number a_1a_2a_3...a_n from basic k to basic 10, usage the formula:

a_n*k^0 + a_(n-1)*k^1 + ... + a_1*k^(n-1).

Thanks for contributing solution to ridge Overflow!

Please be certain to answer the question. Carry out details and share her research!

But avoid

Asking for help, clarification, or responding to various other answers.Making statements based upon opinion; ago them increase with referrals or personal experience.

See more: What Is An Ant Stronger Than An Elephant, Ants Are Mighty And Stronger Than Elephants

To discover more, see our tips on writing good answers.

article Your answer Discard

By click “Post her Answer”, girlfriend agree come our regards to service, privacy policy and also cookie policy

Not the price you're spring for? Browse various other questions tagged math radix or questioning your very own question.

straightforward interview question got harder: offered numbers 1..100, uncover the absent number(s) given precisely k are missing
site architecture / logo © 2021 ridge Exchange Inc; user contributions licensed under cc by-sa. Rev2021.11.2.40634

your privacy

By click “Accept all cookies”, friend agree stack Exchange deserve to store cookie on your an equipment and disclose information in accordance v our Cookie Policy.