Alternative Number System

The number system used by most of the modern world today is called the decimal system, involving ten digits ("Base 10"). Sometimes, if a writer wants to portray a society as being significantly alien to our own, they will include a mention of an alternative number system for this society, with the "base" being a number other than ten.

This may be used to indicate the collective intelligence of the society that produced it, if it is portrayed as more sophisticated or more primitive than our system. There may also be an inferred correlation between the ten digits in our number system and the ten digits on the average pair of human hands. Therefore, a race of aliens with Four-Fingered Hands may use a base eight number system. Finally, it is very common for robots or other computer-based intelligences to count in base two.

This sort of thing is generally used as an insignificant throwaway joke, as it may be a difficult concept for some viewers to grasp.

Comic Books

 * In Elf Quest, the elves use base 8 because of their Four-Fingered Hands -- that page has more details.

Fanfic

 * Aeon Natum Engel: The narration from the Migou POV and their dialogue goes to great lengths to convey their alien thought processes, including a base-36 numbering system.

Film

 * In Battlefield Earth the Psychlos use a base-11 system.
 * Behind-the-scenes material on Avatar claims that the Na'vi also use base 8 for the same reason as the Elf Quest elves.

Literature
"(Curse the human penchant for powers of ten! Torra always had to mentally convert their numbers to base sixteen, just to get a handle on them.)"
 * In the Star Wars Expanded Universe, the Hutts use a base 8 system due to only having four fingers on each hand. Being Hutts, they don't always tell this to their business partners, most of whom use base 10.
 * In the Discworld books, trolls apparently have a "base Many" system (actually base four). As in, "one, two, three, many, many-one, many-two...
 * A subversion: When Douglas Adams revealed that the question which produced the Ultimate Answer (42) was, somebody pointed out that the math actually did add up, using base 13. Adams responded, "I may be a sad individual, but I don't make jokes in base 13."
 * According to the appendices of The Lord of the Rings, elves habitually count in base 12.
 * The gukuy in Eric Flint's Mother of Demons count using an eight-base system.
 * It's never mentioned in the books themselves, or the series, but the "Gallifreyan numerals" used on the spines and chapter headings of the Doctor Who New Series Adventures (9th and 10th Doctors) are in base 7.
 * In Leo Frankowski's The Cross Time Engineer series, the new civilization Conrad Stargard starts up in Medieval Europe uses base 12 mathematics, because Stargard believes it's "more accurate" than decimal mathematics.
 * Not so much more "accurate" as more useful. Bulk goods are bought and sold in dozens and grosses. 12 factors into 2, 3, 4, and 6. It is far easier to cut a cake/pie into 12 pieces than ten without involving a protractor.
 * In Learning the World by Ken MacLeod, the aliens are four-fingered, and count in base 8. When they learn that humans use base 10, their reaction is that having a base that isn't a power of two must be awfully inconvenient.
 * In A Fire Upon the Deep by Vernor Vinge, the doglike Tines have two different number systems: one where they count "by legs" (in base 4) and one where they count "by fore-claws" (in base 10). Confusion between these two systems leads to the accidental meeting of two of the major characters. Amdiranifani is housed in room 33, Jefri is supposed to be imprisoned in room 15 (33 in base 4), and the guard who's taking him there uses the wrong numbering system.
 * On Gor, the alien species the Kurii use base-12, presumably because they have 12 digits on their "hands."
 * Little Fuzzy, a series begun by H. Beam Piper, uses a modified form of base 5. 1, 2, 3, 4, one hand. At 125, they've reached a hand of hands. It then goes to many, and many many. The fuzzies soon adopt the human's base 10 system.
 * Larry Niven and Jerry Pournelle's The Mote in God's Eye. The Moties have a total of 12 digits on their right hands and use base 12.
 * The Kzinti of Larry Niven's Known Space count in base eight.
 * The Culture uses a nonary (base nine, that is) system.
 * In Stranger in A Strange Land, the Martians apparently have a numerical system based on three and powers of three. "Three fulfilled," they call it...
 * According to The Klingon Dictionary, the Klingons used to count in a trinary (base-three) system, but have since switched over to decimal.
 * In Footfall, the Fithp use base 8.
 * In Contact, a message is encoded in base 11, by someone or something capable of messing with the values of mathematical constants.
 * The aliens in the Rama books appear to use base 3.
 * In The Iron Standard by Henry Kuttner, the six-fingered Venusians use base-12.
 * Out of the Dark gives us the Shongairi, who count in base-twelve. Possibly.
 * Zamonien in Walter Moers' novels uses base 8. The author even created new symbols for the numbers.
 * In the Fighting Fantasy book Rebel Planet, the two-fingered Arcadians count in binary. Converting binary to decimal is necessary to solve a couple of puzzles, though the reader is fortunately provided with a handy grid.
 * Centaurians in The Pentagon War have 4 tentacle-fingers on each of 4 hands. When a Centaurian named Torra Zorra reads that a cable's diameter is 3 x 10-5 meters, we get this parenthetical aside:


 * The Megarites of the Star Trek universe use base 8, according to Star Trek: Ex Machina.

Live Action TV
"Carter: Trust me; its a math thing."
 * Stargate SG-1:
 * A throwaway comment in the episode "The Fifth Race" implies that the Ancients counted in base eight.
 * Also invoked when they nearly set off a Tobin mine by entering in the wrong code due to Daniel failing to factor in a zero into his translation. He argues the Phoenicians they were descended from never used a number zero, but Carter points out in order to program something as complex as a mine, the Tobin's would have had to have added a zero component.

"Customer: How much is "forty-four" in real numbers? Shopkeeper: XLIV . Customer: Well why don't you just say XLIV? Who can remember "forty-four?""
 * In The Frantics' sketch "Roman Numerals" a Roman citizen is baffled by the new decimal system.


 * In Star Trek the Next Generation, the Bynars use base 2.
 * The Minbari in Babylon 5 use base eleven (a byproduct of using fingers, toes, and the head as "digits" for counting.)
 * According to tie-in RPG materials, the Dilgar used base 25.

Tabletop Games

 * In Traveller, the various alien species use different base mathematics. The Aslan use Base 8, the Hivers use Base 16, and the Droyne use Base 6. Most of the various Human Aliens, as well as the Vargr, use Base 10.

Video Games
""Two plus two equals...ten. In base four! I'm fine!""
 * In the Myst games, the D'ni have a base 25 system, in keeping with the games' general tendency to use powers of five as Arc Numbers.
 * The aliens in Iji use a ternary number system.
 * In the final boss fight in Portal, G La DOS gives this line after taking a missile hit:


 * There is a popular theory among Half Life fans that the Combine use a base-17 system, based on how prominent 17 seems to be. If nothing, it reinforces the utterly alien nature of the Combine.
 * The Kilrathi from Wing Commander use Base 8 for their numbering system, given that they have a total of eight fingers. For the most part this isn't really mentioned much, but it's prominent in the dates for history of the Kilrathi war from their viewpoint as done in the manual for Armada, "Voices of War".
 * Halo fans speculate that the Forerunners might have counted using a Base-7 counting system.

Web Comics

 * In Housepets, a mouse named Spo came from a very large family. How large? The sibling born immediately after him was named Spp...
 * In Girl Genius' world of mad science there's bound to be examples showing up: "Tell the landlord that he is to stop trying to make change in base eight, or he'll pay his taxes in base twelve."

Web Original

 * In some of the Chakona Space stories, Caitians are mentioned to be using base 8 math and the less mathematically minded ones struggle with everyone else's usage of base 10 math.

Western Animation

 * In Futurama, robots sometimes use base 2.
 * The Schoolhouse Rock music video for "Little Twelvetoes" briefly touches on the idea of what counting with a base-twelve system would be like, and demonstrates with the titular twelve-fingered alien character.

Real Life

 * Computers work in Base 2 because the only input signals they can distinguish between are "on" and "off". Each one is called a "bit". The de facto standard of a byte establishes it as 8 bits, prompting people familiar with computer science to use the hexadecimal system (base 16) to represent a byte of information in two digits.
 * Ancient Mayans used a base 20 system.
 * Ancient Babylonians counted in base 60. This is reflected in the modern measurement of time (hours, minutes and seconds), as well as angular measure (degrees, minutes, seconds).
 * Vestiges of base 12 remain in English and German.
 * Base 12 is a rather elegant base to use (especially for fractions), since it is the smallest number which is evenly divisible by 2, 3, 4, and 6 (base 10, by contrast, is only divisible by 2 and 5). The Babylonian base 60 system actually consists of 5 sets of 12 (allowing division by 5 in addition to the others).
 * Vestiges of base 20 remain in English ("four score years and ten ago") and French ("quatre-vingts", also in the name of the Parisian hospital Quinze-Vingts which was originally founded to house 300 patients).