Please tell me the formula for volume of square based pyramid

google is faster. For any pyramid,

v = 1/3 Bh

where B is the area of the base.