The formula for the surface area of a cylinder is A = pi * r2 + 2 * pi * r * h, where r is the radius of the base and h is the height of the cylinder. The first term pi * r2 represents the area of the top and bottom circles, while the second term 2 * pi * r * h represents the area of the lateral surface.