Surface brightness (SB) is, in effect, the brightness "per area" of an object, i.e., brightness per unit area. Surface brightness has the seeming-paradoxical quality that, assuming the object is sufficiently close to be resolved, the observed surface-brightness does not automatically diminish with distance; rather the apparent size of the surface becomes smaller. Thus, the surface brightness of the Sun as observed from Earth is the same as it is from much closer: it is merely that the Sun fits in a smaller "area of the sky", i.e., a smaller solid angle (number of square degrees) of the celestial sphere. Being near the Sun would be like having the whole sky as bright as (but no brighter than) that little patch of the sky actually covered by the Sun.
Since the surface brightness of resolvable objects is not apparently reduced by distance (e.g., as would be magnitude), it is a valuable observable: it can be directly determined at any distance, even without knowing the distance. As such, it can sometimes help estimate distance. Resolvable objects (i.e., for which surface brightness measurements are possible) include galaxies, solar system planets and moons, nebulae, and the cosmic microwave background.