How would I calculate the percentage of my screen being covered by a part?

So basically I want to know how much of my screen is being covered by a part. I’m raycasting the corners of the part as well as the middle, but I’m not sure how to use this info to calculate the percentage of the screen being covered.