<DefinitionAndReference>
  <Element Id="us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfNonOwnedSitesWhereReservesHaveBeenEstablishedAndAreSufficientToSatisfyCompanysExpectedObligation">
    <definition>Number of non-owned sites where reserves have been established and are sufficient to satisfy the Companys expected obligation.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_PaymentsToAcquireBusinessesNetOfCashAcquiredAndOther">
    <definition>Payments to acquire businesses net of cash acquired and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_Depreciation">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_InventoryRawMaterials">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_InventoryWorkInProcess">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ReceivablesNetCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DeferredTaxAssetsNetCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AssetsCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OtherLiabilitiesNoncurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ReductionInNetIncomeInTermsOfDilutedEarningsPerShare">
    <definition>Reduction in net income in terms of diluted earnings per share.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_StandardProductWarrantyAccrualPayments">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DefinedBenefitPlanServiceCost">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_LiabilitiesAndStockholdersEquity">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_MarketableSecuritiesCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityPublicFloat">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_NetCashProvidedByUsedInFinancingActivities">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ComprehensiveIncomeNetOfTax">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_LongTermDebtNoncurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfNonOwnedSitesCompanyIsIdentifiedAsDeminimisParty">
    <definition>Number of non-owned sites the Company is identified as a deminimis party.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_AmendmentFlag">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ChangesInCarryingAmountsOfGoodwillBySegmentTextBlock">
    <definition>Changes in the carrying amounts of goodwill by segment.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DeferredTaxLiabilitiesNoncurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ShareBasedCompensationExpenseTableTextBlock">
    <definition>Total share-based compensation expense.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_SummaryOfIncomeTaxContingenciesTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_StandardProductWarrantyAccrualWarrantiesIssued">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OtherNonoperatingIncomeExpense">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_LiabilitiesCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_EstimatedAnnualSalesOfAcquiredEntity">
    <definition>Estimated annual sales of acquired entity.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityVoluntaryFilers">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_InventoriesTextBlock">
    <definition>Inventories.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_PercentageOfCompanyWorkforceForWhichSeveranceCostsApplied">
    <definition>Percentage of Company's workforce for which severance costs applied.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccruedIncomeTaxesCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_FairValueByBalanceSheetGroupingTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DefinedContributionPlanCostRecognized">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityRegistrantName">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DeferredIncomeTaxExpenseBenefit">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityCentralIndexKey">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RepaymentsOfLongTermDebt">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityWellKnownSeasonedIssuer">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_NetIncomeLoss">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_CommonStockDividendsPerShareCashPaid">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DepreciationAndAmortization">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ComprehensiveIncomeNoteTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ForeignPlansAndOther">
    <definition>Foreign plans and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPeriodIncreaseDecrease">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_AssetWriteDowns">
    <definition>Asset write-downs.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfNonOwnedSitesCompanyIsNamedPotentiallyResponsibleParty">
    <definition>Number of non-owned sites the Company is named a Potentially Responsible Party.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccountsPayableCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_InterestExpense">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_StockholdersEquity">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RevenueRecognitionPolicyTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_UnrecognizedTaxBenefits">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_AmortizationOfNetActuarialLossAndOther">
    <definition>Amortization of net actuarial loss and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecrease">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_IntangibleAssetsNetExcludingGoodwill">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_SalesRevenueNet">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_CashAndCashEquivalentsAtCarryingValue">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_OtherPlans">
    <definition>Total other plans.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_IncomeTaxDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfNonOwnedSitesCompanyIsStillWorkingToEstablishSettlementAmount">
    <definition>Number of non-owned sites the Company is still working to establish a settlement amount.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_DocumentFiscalPeriodFocus">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ForeignCurrencyTranslationAndOther">
    <definition>Foreign currency translation and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_SegmentReportingDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_InvestmentsAndOtherAssets">
    <definition>Investments and other assets.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_IncreaseDecreaseInOperatingCapital">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_EarningsPerShareBasic">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_SeveranceCosts">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_Liabilities">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_NetCashProvidedByUsedInOperatingActivities">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ProductWarrantyDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_RestructuringAccrualsTextBlock">
    <definition>Restructuring Accruals Text Block.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NetPensionExpense">
    <definition>Total net pension expense.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RestrictedStockExpense">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DefinedBenefitPlanInterestCost">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RestructuringAndRelatedActivitiesDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_FairValueMeasuredOnRecurringBasisInvestments">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AllocatedShareBasedCompensationExpense">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_SiteContingencyRecoveryFromThirdPartyOfEnvironmentalRemediationCost">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ShareBasedCompensation">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_EarningsPerShareTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_BusinessExitCosts">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityCommonStockSharesOutstanding">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_PurchasePriceAllocationAdjustmentsAndOther">
    <definition>Purchase price allocation adjustments and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccrualForEnvironmentalLossContingenciesPayments">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_LongTermDebt">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_StandardProductWarrantyAccrual">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_EarningsPerShareDiluted">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ShareBasedCompensationTaxBenefitFromCompensationExpense">
    <definition>Share-Based Compensation Tax Benefit From Compensation Expense.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_Utilization">
    <definition>Utilization.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OtherAssetsCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DerivativeAmountOfHedgedItem">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RetainedEarningsAccumulatedDeficit">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_IncreaseInUnrecognizedTaxBenefits">
    <definition>Increase in unrecognized tax benefits.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_CostsAndExpenses">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_GoodwillTranslationAndPurchaseAccountingAdjustments">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_CurrentFiscalYearEndDate">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ShareBasedCompensationNetOfTax">
    <definition>Share-Based Compensation Net Of Tax.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityFilerCategory">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_InventoryFinishedGoods">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_FairValueMeasurementsAndDisclosuresPolicyTextBlock">
    <definition>Fair Value Measurements And Disclosures Policy Text Block.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfReportableSegments">
    <definition>Number of reportable segments.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_InventoryDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_CommonStockValue">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccruedLiabilitiesCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ChangesInAccruedProductWarrantyObligationTextBlock">
    <definition>Changes in accrued product warranty obligation.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccrualForEnvironmentalLossContingenciesIncreaseDecreaseForAcquisitionsAndDivestitures">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_CostOfSalesExcludingDepreciation">
    <definition>Cost of sales, excluding depreciation.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_NetCashProvidedByUsedInInvestingActivities">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ReductionInNetIncome">
    <definition>Reduction in net income.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_PensionContributionAndOther">
    <definition>Pension contribution and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_BusinessCombinationsAndOtherPurchaseOfBusinessTransactionsPolicyTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AdditionalPaidInCapitalCommonStock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_Assets">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RestructuringCharges">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RestructuringReserve">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_DecreaseInUnrecognizedTaxBenefits">
    <definition>Decrease in unrecognized tax benefits.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_DocumentType">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_DebtCurrent">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_RecordedThirdPartyEnvironmentalRecoveriesReceivable">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ReservesRelatedToOwnedSiteAcquired">
    <definition>Reserves related to owned site acquired.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_DocumentFiscalYearFocus">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfWeightedAverageSharesTextBlock">
    <definition>Number of weighted average shares.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_PaymentsOfDividendsCommonStock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_IncomeTaxExpenseBenefit">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_EntityCurrentReportingStatus">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_OtherComprehensiveIncomeOtherNetOfTaxPeriodIncreaseDecrease">
    <definition>Other comprehensive income other net of tax period increase decrease.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_AccrualForEnvironmentalLossContingencies">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ScheduleOfGoodwillTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_InventoryNet">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_EstimatedFairValuesAndRecordedAmountsOfCompanysFinancialInstrumentsTextBlock">
    <definition>Estimated fair values and recorded amounts of the Company's financial instruments.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_PaymentsForRepurchaseOfCommonStock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_PropertyPlantAndEquipmentNet">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_WarrantyAccrualsRelatedToNewBusinessesAndOther">
    <definition>Warranty accruals related to new businesses and other.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_ComponentsOfComprehensiveIncomeTextBlock">
    <definition>Components of comprehensive income.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_FairValueDisclosuresTextBlock">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_OperatingIncomeLoss">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_NumberOfNonOwnedSitesCompanyHasReachedTentativeSettlementAgreement">
    <definition>Number of non-owned sites the Company has reached a tentative settlement agreement.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_SubsequentEventsTextBlock">
    <definition>Subsequent Event.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ProceedsFromRepaymentsOfShortTermDebt">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_SellingGeneralAndAdministrativeExpense">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="ame_AllocatedShareBasedCompensationNetOfTax">
    <definition>Vesting charges, net after-tax.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_ShortTermBorrowings">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_StockOptionPlanExpense">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_TreasuryStockValue">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="dei_DocumentPeriodEndDate">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
  <Element Id="us-gaap_Goodwill">
    <definition>No authoritative reference available.</definition>
    <reference>No authoritative reference available.</reference>
  </Element>
</DefinitionAndReference>
