ring volume and surface area calculator

outer radius:
inner radius:
volume:
surface area:

the formula for the volume of a ring:
   V = π2 * (R + r) * (R - r)2

the formula for the area of ​​a circle:
   S = π2 * (R2 - r2)

here
r: outer radius
r: inner radius