Here's how it is calculated. The green color indicates a bomb. Why are there sixes around the number 6? Because the attack affects an area of 3x3, i.e., one cell and all cells surrounding it. I think everything is clear with Corvus. I hope this example will help you calculate the range.