The upper edge or lip of a container or a hollow object. She filled the glass to the brim with water.
The projecting edge around the bottom of a hat. He adjusted the brim of his hat to shield his eyes from the sun.
The level reached by a liquid in a container; the point at which something is filled to capacity. He filled the bucket to the brim before carrying it outside.