You can calculate pCO2 using any two of DIC, alkalinity and pH using the program CO2sys: http://cdiac.ornl.gov/oceans/co2rprt.html. There are simpler versions but this program uses the two parameters plus pressure, salinity and nutrient information (if you have it) to calculate the other carbon system parameters.
I always use the MATLAB version and find it simple to use. You can also select which equilibrium constants you want.