You want the wheel odometry to add up to 1/4 of the circumference of the circle whose radius is the distance between the wheels (call it $R$).
In other words, if you only drove one wheel and the wheels were $R$ units apart, then you'd leave a circular tire track whose circumference would be $2\pi R$. If the left wheel moved $\frac{2\pi R}{4} = \frac{\pi R}{2}$ then effectively you've drawn a quarter circle and are now facing 90 degrees ($\pi/2$ radians) to your right.
This also works if you rotate both wheels in opposite directions. Instead of rotating one wheel $\frac{\pi R}{2}$, rotate each wheel $\frac{\pi R}{4}$ in opposite directions. This will trace a circle of diameter $R$ (half the size of before), whose circumference is $\pi R$. Both wheels are tracing $\frac{\pi R}{4}$ or one quarter of the same circle.
My back-of-the-envelope says that this will work for any combination of left and right wheel distances. So, if your left and right wheel odometry values are $D_l$ and $D_r$, you've made a 90 degree turn to the right when $D_l - D_r = \frac{\pi R}{2}$
You should be able to calculate $D_l$ and $D_r$ from your wheel encoders since you know the wheel radius. At that point, the value of $\pi$ should be factored out of the equation.
This won't be accurate over time, but it's about the best you can do without factoring in any other sensor data.