<button type="submit" onclick="calc(); return false">Рассчитать</button>
<span onclick="calc()">Рассчитать</span>