Substituting shortening?

Morgan

So I’m baking cookies and need 1/2cup shortening, I don’t have any but I know I can substitute it with butter but how much? The recipe already calls for 1/2cup butter.