The calculated distance (air line) between Trofaiach and Graz is approximately 32 miles respectively 52 kilometers.
By car or train, the actual journey to Graz is certainly longer, as only the direct route (as the crow flies) between Trofaiach and Graz has been calculated here.