Si te sirve calcularla en el cliente, podrías usar algo así (asignale el tamaño y la fuente en los estilos del body o dentro de la función):
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<script>
function ancho(palabra){
var tmp= document.createElement('span');
tmp.innerHTML=palabra;
tmp.style.position='absolute';
tmp.style.top='-1500px';
document.body.appendChild(tmp);
return tmp.offsetWidth
}
onload=function(){
alert(ancho('Palabra'));
}
</script>
</head>
<body>
</body>
</html>