I'm thinking of a project which requires powering a device with an optical fiber, but I don't know how to compute the maximum amount of power it can supply at the end.

These are the parameters I know:  
 - The diameter of the fiber  
 - The materials used in the fiber and its properties.  
 - The length of the fiber