most people use program called WinISD takes a little bit to learn.. but its a great program.. port length will depend on alot of things.. Box size, port area, desired tuning frequency of course.. and different subs may require larger ports than others