This Product Guide explains in 2 minutes:
How to create a custom metric for different platforms in Funnel
How to create a custom metric based on formulas (simple math)
The Guide demonstrates how to create the metrics "Conversion" and "Cost per Conversion" as an example.