```python
import math

def surfacearea_sphere(r):
  """
  Calculates the surface area of a sphere.

  Args:
    r: The radius of the sphere.

  Returns:
    The surface area of the sphere.
  """
  surface_area = 4 * math.pi * (r ** 2)
  return surface_area
```