Calculator by Room Rulebook
Fan body height varies by model; check the product sheet. 12 in is only a starting guess.
This calculator needs JavaScript. The rules it uses are written out below.