Rythmik has just published a useful app to help calculate the proper subwoofer distance setting for your receiver. This will optimize phase, which is critical for achieving the best blend between your speakers and subwoofer.

http://www.rythmikaudio.com/subtuner.html

Note: You must have Java installed.