Help me figure out an trig formula in Excel

This Web site has a calculator that allows you to find the viewing angle for a given size TV screen as seen from a given distance. I’d like to be able to incorporate the same function in a spreadsheet.

The only problem is that I never took trig, and don’t have time (or need or inclination) to take a crash course now, just for this little task, if one of you math whizzes will help me.

What I need is a formula that yields “Current Viewing Angle” (the first field under “Results”) given the “Distance to main viewing location” (call it cell A1) and the “Screen Width” (cell A2).

The Web site has you input “Distance” in feet and “Screen Width” in inches, since that’s the most common situation for home theaters. But I would rather have the same units in both cells.

Thanks.

=2*degrees(atan((a2/2)/a1))

Just making sure: By “screen width”, you mean horizontal width, not diagonal width, right?

Excellent! Thanks, YamatoTwinkie! That’s perfect!