How is Sum Insured decided?

The sum insured is based on cost, insurance, freight and other incidental expenses. This is an agreed value policy.