JSFiddle - React, Tailwind, and code Playground
HTML
<form action="">
<div id="cronometro"></div>
<input type="text" id="chamadas" value="50">
<div id="segundos"></div>
<div id="tma"></div>
<div id="desvio"></div>
</form>
JavaScript
var secs = 10760;
var hora = document.getElementById('cronometro')
var chamadas = document.getElementById('chamadas')
var segundos = document.getElementById('segundos')
var tma = document.getElementById('tma')
var desvio = document.getElementById('desvio')
setInterval(cronometro, 1000);
function cronometro() {
secs++;
hora.innerHTML = [
secs / 60 / 60, // horas
(secs / 60) % 60, // minutos
secs % 60 // segundos
].map(Math.floor).map(
s => (s < 10) ? '0' + s : s
).join(':');
segundos.innerHTML = secs;
var tmaVal = secs / parseInt(chamadas.value, 10);
tma.innerHTML = tmaVal;
desvio.innerHTML = (((tmaVal / Math.floor(tmaVal - 1)) - 1) * 100).toFixed(2);
}