Formatting a computer involves erasing all of the data on the computer's hard drive, and then reinstalling the operating system so that the computer is restored to factory defaults. This can be useful if your computer is malfunctioning, or you are planning on selling or donating it. Follow this guide to format your Windows 7 or Mac OS X computer.