Normal Torpedo range can be 20km, Japanese oxygen torpedos can go 50kms, depending on their speed setting. The problem isn't the range. The problem is even at the highest speed settings, torpedos don't go all that fast, 45 knots tops. It takes a far longer to reach the target at anything more than 2-3kms than it take for the target to move out of the way. If the enemy sees a torpedo launch from more than a few km away, or just suspect there had been a launch, they could easily change course and cause the torpedos to miss by a large margin.
Hence the range at which torpedos have high probability of hitting is just a few Kms at most, regardless of how far the torpedo can keep moving.
Well, range is important, Geman WW2 torpedo G7a T1 had a range of 6km @ 44 knots, 8 km @ 40 knots, 14 km @ 30 knots. late war British 21" mark IX** had a range of 10 km @ 41 knots, 13.7 km @ 35 knots. Us early war Mark 15, had a range of 6.5 km @ 45 knots, 9 km @ 33.5 knots, 13.7 km @ 26.5 knots. US late war Mark 17 had a range of 16.5 km @ 46 knots. its only the Japanese long lance that truly had range, 40 km @ 38 knots, 32 km @ 42 knots, and 20 km @ 50 knots.
Now consider battleship fights.
Scharnhorst straddles Glorious at 24 km
Warsprite straddles Guilio Cesare at 23 km
Yamato might have straddled White Plains at 32 km
Iowa / New Jersy might have straddled Nowaki at 31 km
POW straddled Bismark at 27 km
Bismark/PE sunk Hood at 14 km
Washington sunk/crippled Krishima at 10 km at night
South Dakota stuck atago/takao at around 18 km
Krishima disabled South Dakota at around 12-16 km?
Basically, unless you have a late war torpedo or a long lance, the majority of the battleship fights are outside of torpedo range. unless you run into fog where Hiei sank/crippled Alanta and San Francisco between 8 km to 2 km, where San Francisco's 8" can penetrate the battle crusier's armor and cripple Hiei
I mean its semantics, technically it is effective range. but given a torpedo is not kinetic based, high explosive is by definition effective at any range, but what is the hit probability? All navies had anti torpedo maneuvers that are clocked based and the zig zagging is timed based on the perceived range of enemy ships. This is why the katikana was born.
launching 20 long lances per broadside, say at a spread of 100 meters center on center at 15 km, the intent is to create a lethal area for 2 km area for a battleship sized target which is zigzagging and maneuvering. had the BB maneuvered parallel into or away from the torpedos, a battleship is around 30 m beam, so it is a 30% probability to hit. but in doing so, the BB would sacrificed using her forward or rear guns to return fire; and significantly mess up their firing solution; which will take another ~15 minutes to rebuild. i.e. subjecting the BB to a significant period where it could not return fire.
Its also not that easy to change course, a US standard battleship is 21 knots, 39 km/hr, and its turning radius is ~700 meters.
Needless to say, since WW2 had no battlelines for fleet engagements, the katikana didn't acheive much. Now, if you put the german G7ES acoustic seeking torpedo seaker onto the long lance, than you have something.