Hola, myd. Bienvenido al Foro.
Aqui tienes una idea:
Código PHP:
<html>
<head>
<script>
function sumar() {
n1=parseInt(document.getElementById("numero1").value);
n2=parseInt(document.getElementById("numero2").value);
document.getElementById("resultado").value=n1+n2;
}
</script>
</head>
<body>
<input type="text" id="numero1" onKeyPress="sumar()">
<input type="text" id="numero2" onKeyPress="sumar()">
<input type="text" id="resultado">
</body>
</html>
Saludos,