This question already has an answer here:
I'm sure this has been asked numerous times, but I'm brand new to all of this and I can barely make sense of it. Say I want to create a longsword that catches fire when used. From what I've looked through, that's the flaming enchantment. According to the cost under the flaming enchantment, I need Craft Magic Arms and Armor, either Fireball, Flame Strike, or Flame Blade, and I need to factor in the cost of a +1 enhancement. According to the magic item creation guide, I would need to factor in the spell level, times the caster level, times 2000 since it's a continuous/on use effect, and since it's a spell effect I need to factor in spell level time 1000. Assuming I use Flame Blade as the spell material, I would need to spend ~46,000 on the effect alone, since the caster level of Flaming is 10 (I think). Is this anywhere near accurate?