The amount that something can hold.
Usually it means volume, such as milliliters (ml) or liters (l) in Metric, or pints or gallons in Imperial.
Example: This glass has a capacity of 300 ml (but is actually holding only 160 ml)
Capacity can also be general: "He has a great capacity for work"