I would suggest you to use the Javascript/JQuery function to do this calculation as this calculation is very simple and can be calculated at client end easily without creating any overhead to server.
<script type="text/javascript">
$(document).ready(function () {
$("#[TextBox1ID], #[TextBox2ID]").blur(function () {
var txtVal1=$("#[TextBox1ID]").val();
var txtVal2=$("#[TextBox2ID]").val();
if(txtVal1!='' && !isNaN(txtVal1) && txtVal2!='' && !isNaN(txtVal2))
{
$('#[TextBox3ID]').val(parseInt(txtVal1) + parseInt(txtVal2));
}
});
});
</script>
I hope this will help you.. :)