PHP is like a "general-purpose" language for websites, it can add, substract, "print", connect to databases, etc. HTML, on the other hand, is only a "markup language" which means is only about using text.
When HTML sends a form to PHP, PHP gets it as variables inside an array (a set of variables). So, in PHP it would be as easy as
<?php
$result = $_POST['field1'] + $_POST['field2'];
//field1 and field2 should be the names of your fields
//$_POST is the array in which your form values are wrapped in
//check out the differences between POST and GET methods
echo $result;
?>
While on HTML alone it would be impposible to do.
Check out some tutorials to become more acquainted with PHP functions and logic, and you'll see how useful and easy to use language it is.