def METHOD_NAME(grid_pixels, zoom):
    wm_world_width = 40075016.6856
    tile_size = 256
    wm_units_per_pixel = wm_world_width / (tile_size * pow(2, zoom))
    grid_size_wm = grid_pixels * wm_units_per_pixel
    return grid_size_wm