Our world borders are typically at 11,000 blocks from spawn, giving an available rectangle of 22,000 by 22,000 blocks.