$$x_n=\frac{x_o}{2^{n/12}}$$
The above formula can be used to calculate the required fret spacing, where $n$ is the fret number, $x_n$ is the distance of the fret from the bridge and $x_o$ is the scale length.
Lots of guitar making books will have tables for popular scales lengths to an accuracy greater than I could ever cut to. However, I just hate rounding errors. Also, by knowing the formula above, any scale length can be created, not just the ones provided. That said, here is a table for a scale length of 25”
Scale length