How do I create a form with calculated fields

I want to create a fillable form and I want it to make calculations based on user responses to other fields