The nat unit: Shannon’s natural logarithm and the uncertainty of a message
The nat unit measures information with the natural logarithm, whose base is e. For an event with probability p, its information content is minus ln p nats. A less probable event therefore carries a larger value. Russ Rowlett's unit dictionary gives this definition and the conversion of one nat to approximately 1.442695 shannons, the base-two information unit. The choice of base changes the number attached to a probability; the event and its probability remain the same.
Claude Shannon made that choice explicit in A Mathematical Theory of Communication, published in 1948. His starting problem was reproducing a selected message at another location. The engineering system had to accommodate possible selections before the actual selection was known. He treated the message's semantic meaning separately from that engineering problem. The quantity being measured concerned the available possibilities and their statistical structure, giving the nat unit a narrower technical role than a judgment about how meaningful a statement might be.
Shannon illustrated logarithmic measurement with devices having two stable positions. Adding one such device doubles the number of available states while adding one to their base-two logarithm. He called the resulting units bits, crediting the shortened word to J. W. Tukey. Decimal digits used base ten. For analytical work involving differentiation and integration, Shannon identified base e as useful and called its measures natural units. His original terminology establishes the natural-logarithm option; Rowlett's later dictionary supplies the compact name nat.
The conversion can be calculated directly. For a probability of one-half, minus ln p is ln 2, approximately 0.693147 nat. With base two, the same expression has value one shannon. Dividing one by ln 2 therefore gives approximately 1.442695 shannons per nat. For a probability of one-quarter, the natural-logarithm value becomes ln 4, approximately 1.386294 nats. These substitutions illustrate the nat unit with specified probabilities. Doubling the information value here corresponds to squaring the reciprocal probability, from two to four.
An individual event's information and the average across a distribution are distinct quantities. John Duchi's Stanford lecture notes define entropy in nats by multiplying each event's minus-log probability by its probability and adding the results. A distribution concentrated on one certain outcome has zero entropy; equal probabilities over m outcomes give ln m. Duchi also defines conditional entropy by averaging the uncertainties remaining after another variable is observed. The nat unit can express either an initial uncertainty or the uncertainty left after a specified observation.
For a calculated example, eight equally probable messages have entropy ln 8, approximately 2.079442 nats. Suppose an observation identifies which pair contains the selected message, leaving the two members equally probable. The remaining conditional entropy is ln 2, approximately 0.693147 nat. This calculation applies Duchi's definitions to a specified model: the information already supplied changes the remaining uncertainty, while the logarithmic base stays fixed.
Carnegie Mellon's Probability and Computing notes give a concrete four-outcome distribution: probabilities one-half, one-quarter, one-eighth and one-eighth. Using base two, their weighted information values sum to 1.75 bits. Repeating that calculation with natural logarithms gives 1.75 multiplied by ln 2, approximately 1.213008 nats. The probability model supplies both results. Four equally probable outcomes would instead give ln 4, approximately 1.386294 nats. The lower average in the unequal case follows from the stated probabilities, although both models contain four possible outcomes.
Those Carnegie Mellon notes connect entropy to lossless compression and describe prefix-free codes, in which no symbol's codeword begins another symbol's codeword. That property allows successive codewords to be decoded without extra boundary markers. Their compression discussion assigns shorter encodings to common symbols and longer ones to rarer symbols. A result expressed with the nat unit still needs conversion before comparison with a binary code length. For the four-outcome calculation, approximately 1.213008 nats corresponds to the same average as 1.75 binary digits, rather than a requirement for 1.213008 binary digits.
Shannon's 1951 study Prediction and Entropy of Printed English investigated how prior text changes uncertainty. Participants guessed successive letters in an unfamiliar passage while keeping the preceding text available. In one reported example, 89 of 129 letters were guessed correctly, about 69 percent. The experiment counted spaces as an additional letter. Its measured success rate concerned a particular prediction task, while the study's entropy estimates required further analysis of the predictions and their statistical implications.
The 1951 study estimated that long-range statistical effects extending up to about 100 letters reduced ordinary literary English's entropy to the order of one bit per letter. Shannon also warned that estimates became more uncertain and depended more critically on the type of text as longer ranges were considered. Expressing one bit per letter as approximately 0.693147 nat per letter is a unit conversion, not a new experimental result. The nat unit preserves that distinction: changing logarithmic base rescales the measurement, while changing the probability model or the information already available changes the uncertainty being measured.
- Claude E. Shannon, A Mathematical Theory of Communication, 1948, introduction, corrected reprint hosted by Harvard — people.math.harvard.edu
- Russ Rowlett, How Many? A Dictionary of Units of Measurement, nat or natural unit entry — www.ibiblio.org
- John Duchi, Statistics and Information Theory, November 18, 2025, section 2.1.1 — web.stanford.edu
- Carnegie Mellon University, Probability and Computing lecture notes, entropy and lossless data compression, pages 231–235 of the PDF — www.cs.cmu.edu
- Claude E. Shannon, Prediction and Entropy of Printed English, Bell System Technical Journal, January 1951, full text preserved by Internet Archive — archive.org