The easy way to calculate rms voltage is to divide the peak voltage by the square root of 2.
(Vpeak)/(sqrt(2))=Vrms or Vpeak=(Vrms)*(sqrt(2))
Vpeak is the voltage of the battery pack that one would use in order to achieve the desired Vrms value.
But what does RMS actually mean? When discussing and researching AC motors a useful term that frequently comes up is the RMS rating of the motor or controller. RMS stands for "root mean square" and is used to compare AC and DC voltages. The rms value is a measure of voltage (also known as potential) of an AC wave though not actually the peak voltage, but rather its DC equivalent. AC motors typically have a rating of 230V rms or 460V rms. For example, the sin wave below shows a peak voltage of 648V.

The DC equivalent to a sin wave is its average or its mean. The average amplitude of the graph above is zero, so that value is useless. The graph needs to have all positive values for its average to have any meaning. To resolve this issue, one must square the original sin function. The resulting graph is shown below.

The peak value of this graph is 422,333 volts. To find the average or mean value, simply divide by two. The last step is to take the square root.

The 459.53V may be rounded up to 460V. This is the maximum rms value that could be created by a 648 volt battery pack and an AC speed controller at full throttle.
One might notice that the name of the operation is "root mean square", but that the
order of operation is actually reversed, (1.square 2.mean 3.root). The order of operation is very important when doing this type of calculation.