Area calculator

I want to create a simple rectangle area calculator. Will any one help me out.

The structure goes as follows:

Input Field 1 (length) (unit)
Input Field 2 (Width) (unit)
Result = … (unit)

Note: The user should be able to select the desired unit (cm, m, mm, ft, yd).