Yes, a 12" inline fan is the same size as a 315mm one. Both measurements refer to the diameter of the duct connections compatible with the fan.