calc height for 4inch and 3.5inch