Solve the formula for the specified variable.

S=P(1+rt)\displaystyle {S}={P}{\left({1}+{r}{t}\right)}

r=\displaystyle {r}=