% recovery: how do i calculate it?

we're doing a recrystallization in chem class we used 0.1 g and we recovered 0.3 g how do i calculate the percent recovery?

is this the right way?

0.3-0.1/0.3 x 100 = ?