Yes, thinkorswim for Windows has a feature that can automatically calculate the profit margin using a formula.