To find the total number of animals at the pet shop, we know that 25% of the animals are rabbits and that there are 12 rabbits.
Let's denote the total number of animals as \( x \).
We can express the number of rabbits as:
\[ 0.25x = 12 \]
Now, to solve for \( x \), divide both sides by 0.25:
\[ x = \frac{12}{0.25} \]
Calculating the right side:
\[ x = 12 \div 0.25 = 12 \times 4 = 48 \]
Thus, the total number of animals at the pet shop is 48.