The top of the basketball rim is over 3.04 meters above the court .
At almost all levels of competition , the top of the rim is exactly 10 feet ( 3.04 meters ) above the court and 4 feet ( 1.21 meters ) inside the baseline .
Basketball