There is no default swap size. There's no "one size fits all" value.
The size of swap (contiguous) file or swap partition is governed by what you want to happen when your programs run out of RAM.
If you have no swap, the dreaded OOM-Killer runs, and picks a process to kill to free memory.
If you have some swap, programs can be "swapped out" to free memory, and your system continues, albeit slightly slower (additional disk I/O). When your programs run out of memory plus swap, it's the OOM-Killer again.
If you have at least as much swap as RAM, you can hibernate your system.
If you have all the swap in the world, your programs can seem to use all the memory in the world, but your system will run very slowly, constantly swapping.