Conversion and Perimeter Calculation