If the pills contain psilocybin they will have the same effect as mushrooms, but since no one knows how much psilocybin (if any) the pills contain or how potent the shrooms in your area are nobody can rightfully say such a pill is equal to x amount of mushrooms.

It wouldn't surprise me if the pills didn't contain any psilocybin at all but instead some research chemical. You might want to try and find out some more information before making a purchase, are these capsules or pressed tablets? Any idea as to where they might have come from or the specific contents of the pill, which would be psilocybin if they are "shroom pills".