square calc usage