Definition
A milliampere-hour is one thousandth of an ampere-hour: the charge carried by a current of one milliampere flowing for one hour. It measures charge rather than energy, so a rating in milliamp-hours cannot be compared across voltages without converting it.
Explained in full

This page defines the term. For what it means in practice, see mAh to Wh: converting a battery rating.

What it measures

Charge, and nothing else. One milliampere-hour is a current of one milliampere flowing for one hour, which is 3.6 coulombs. The unit is used for battery ratings because it is small enough to describe a phone battery in round numbers and because it can be measured directly by discharging a cell at a known current.

Why a figure in milliamp-hours is not comparable on its own

Energy is charge multiplied by voltage, and the milliamp-hour figure carries no voltage with it. Two packs with the same rating at different cell voltages hold different amounts of energy. That is the whole of the confusion: a milliamp-hour figure is half of a specification, and the voltage it refers to is the other half.

The voltage in question is the cell's nominal voltage, not the voltage at the output port. A power bank's cells sit at around 3.7 V while its USB output is 5 V or higher, so the two figures describe different points in the same circuit and are not interchangeable.

Where the number comes from

Cell manufacturers measure capacity by discharging at a specified current to a specified cut-off voltage, and they publish two figures from that measurement: a typical capacity averaged across a production batch, and a rated capacity that every cell is guaranteed to meet. Marketing tends to quote the larger one, which is a fact about the marketing rather than about the cell.

Because the measurement is taken at the cell, a rating printed on a power bank describes the cells inside it. What leaves the USB port is smaller, and it is smaller for reasons that have nothing to do with honesty.

Primary sources

  1. International Electrotechnical Commission — official site