John 6:19

When they had rowed about three or four miles, they saw Jesus approaching the boat, walking on the sea—and they were terrified.

Note Greek about twenty-five or thirty stadia; that is, approximately 2.87 to 3.45 miles (4.62 to 5.55 kilometers)

BSB · Berean Standard Bible
So when they had rowed about five and twenty or thirty furlongs, they see Jesus walking on the sea, and drawing nigh unto the ship: and they were afraid.
KJV · King James Version
When therefore they had rowed about twenty-five or thirty stadia, they saw Jesus walking on the sea and drawing near to the boat; and they were afraid.

Note 25 to 30 stadia is about 5 to 6 kilometers or about 3 to 4 miles

WEB · World English Bible
When therefore they had rowed about five and twenty or thirty furlongs, they behold Jesus walking on the sea, and drawing nigh unto the boat: and they were afraid.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

had rowed
Ezekiel 27:26; Jonah 1:13; Mark 6:47, 48
furlongs
John 11:18; Luke 24:13; Revelation 14:20; Revelation 21:16
walking
John 14:18; Job 9:8; Psalm 29:10; Psalm 93:4; Matthew 14:25, 26; Mark 6:49; Luke 24:36–39