# Hartley Information Calculator

The Hartley Information Calculator determines the amount of information contained in a message with length n using Hartley's formula.

### This page exists due to the efforts of the following people:

#### cruelity0_0

Created: 2015-12-02 15:34:17, Last updated: 2023-03-16 06:51:09

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/4206/. Also, please do not modify any references to the original work (if any) contained in this content.

This calculator is designed to take in the number of letters in the alphabet and the number of letters in the message and calculate the amount of information that the message contains. The Hartley formula is based on the assumption that all messages are equiprobable and that each symbol in the alphabet is equally likely to appear in any position in the message.

That is, we have an alphabet A of which letters we make up a message:
$|A| = m$

The number of possible variants of different messages:
$N = m^n$
where N — the possible number of different messages; m — number of letters in the alphabet; n — the number of letters in a message.

Then the Hartley's formula is defined as:
$I = \log_2 N = n \log_2 m$,
where I — the amount of information, bits.

The Hartley's formula was proposed by Ralph Hartley in 1928 as one of the scientific approaches for message evaluation. The Hartley Information Calculator is useful in information theory, cryptography, and other fields where the amount of information contained in a message needs to be quantified.

#### Hartley's formula

Amount of information, bits

URL copied to clipboard

#### Similar calculators

PLANETCALC, Hartley Information Calculator